Skip to content

Commit 5463e07

Browse files
authored
Update quick-create-cli.md
There is an error on the documentation: oid=$(az ad signed-in-user show --query objectId -o tsv) az keyvault create --hsm-name "ContosoMHSM" --resource-group "ContosoResourceGroup" --location "westus3" --administrators $oid --retention-days 7 should be oid=$(az ad signed-in-user show --query id -o tsv) az keyvault create --hsm-name "ContosoMHSM" --resource-group "ContosoResourceGroup" --location "westus3" --administrators $oid --retention-days 7
1 parent ad58304 commit 5463e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/key-vault/managed-hsm/quick-create-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You need to provide following inputs to create a Managed HSM resource:
6161
The following example creates an HSM named **ContosoMHSM**, in the resource group **ContosoResourceGroup**, residing in the **West US 3** location, with **the current signed in user** as the only administrator, with **7 days retention period** for soft-delete. Read more about [Managed HSM soft-delete](soft-delete-overview.md)
6262

6363
```azurecli-interactive
64-
oid=$(az ad signed-in-user show --query objectId -o tsv)
64+
oid=$(az ad signed-in-user show --query id -o tsv)
6565
az keyvault create --hsm-name "ContosoMHSM" --resource-group "ContosoResourceGroup" --location "westus3" --administrators $oid --retention-days 7
6666
```
6767

0 commit comments

Comments
 (0)