Skip to content

Commit 1ec302f

Browse files
Update Key Vault secret names in deploy and validate scripts
1 parent 46fa956 commit 1ec302f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

samples/web-app-sql-database/python/scripts/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUNTIME_VERSION="3.13"
2323
DEPLOY_APP=1
2424
ENVIRONMENT=$(az account show --query environmentName --output tsv)
2525
KEY_VAULT_NAME="${PREFIX}-kv-${SUFFIX}"
26-
SECRET_NAME="SqlConnectionString"
26+
SECRET_NAME="${PREFIX}-secret-${SUFFIX}"
2727

2828
# Change the current directory to the script's directory
2929
cd "$CURRENT_DIR" || exit

samples/web-app-sql-database/python/scripts/validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ $AZ keyvault show \
5050
# Check Key Vault secret
5151
$AZ keyvault secret show \
5252
--vault-name local-kv-test \
53-
--name sql-connection-string \
53+
--name local-secret-test \
5454
--query "{name:name, enabled:attributes.enabled, created:attributes.created}" \
5555
--output table

0 commit comments

Comments
 (0)