Skip to content

Commit 13f4ced

Browse files
Merge pull request #35766 from sravanisaluru/patch-2
Correct CLI command formatting in documentation
2 parents 57ddff0 + a2c48da commit 13f4ced

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

azure-sql/database/auditing-managed-identity.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ Use the following to configure auditing using user-assigned managed identity:
7171

7272
In order to use a managed identity, pass the `--storage-key` parameter as an empty string to use the primary managed identity assigned to the server when configuring auditing. Here's a sample command:
7373

74-
```azurecli
75-
az SQL server audit-policy update -g "sampleresourcegroup" -n "sampleauditingtestserver" --state Enabled --bsts Enabled --storage-endpoint https://<storageaccountname>.blob.core.windows.net --storage-key ""
74+
75+
```azurecli
76+
az SQL server audit-policy update -g "sampleresourcegroup" -n "sampleauditingtestserver" --state Enabled --bsts Enabled --storage-endpoint https://<storageaccountname>.blob.core.windows.net --storage-key '""'
7677
```
7778

7879
For more information, see [az sql server audit-policy](/cli/azure/sql/server/audit-policy).

0 commit comments

Comments
 (0)