Skip to content

Commit 28fb0a7

Browse files
author
Larry
committed
notes
1 parent 26e69bb commit 28fb0a7

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

articles/machine-learning/how-to-create-workspace-template.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,21 +259,25 @@ The following example template demonstrates how to create a workspace with three
259259
}
260260
```
261261

262-
To get the ID of the Key Vault, and the key URI needed by this template, you can use the Azure CLI. The following command is an example of using the Azure CLI to get the Key Vault resource ID and URI:
262+
To get the ID of the Key Vault, and the key URI needed by this template, you can use the Azure CLI. The following command gets the Key Vault ID:
263263

264264
```azurecli-interactive
265-
az keyvault show --name mykeyvault --resource-group myresourcegroup --query "[id, properties.vaultUri]"
265+
az keyvault show --name mykeyvault --resource-group myresourcegroup --query "id"
266266
```
267267

268-
This command returns a value similar to the following text. The first value is the ID and the second is the URI:
268+
This command returns a value similar to `"/subscriptions/{subscription-guid}/resourceGroups/myresourcegroup/providers/Microsoft.KeyVault/vaults/mykeyvault"`.
269269

270-
```text
271-
[
272-
"/subscriptions/{subscription-guid}/resourceGroups/myresourcegroup/providers/Microsoft.KeyVault/vaults/mykeyvault",
273-
"https://mykeyvault.vault.azure.net/"
274-
]
270+
To get the URI for the customer managed key, use the following command:
271+
272+
```azurecli-interactive
273+
az keyvault key show --vault-name mykeyvault --name mykey --query "key.kid"
275274
```
276275

276+
This command returns a value similar to `"https://mykeyvault.vault.azure.net/keys/mykey/{guid}"`.
277+
278+
> [!IMPORTANT]
279+
> Once a workspace has been created, you cannot change the settings for confidential data, encryption, key vault ID, or key identifiers. To change these values, you must create a new workspace using the new values.
280+
277281
## Use the Azure portal
278282

279283
1. Follow the steps in [Deploy resources from custom template](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-template-deploy-portal#deploy-resources-from-custom-template). When you arrive at the __Edit template__ screen, paste in the template from this document.

0 commit comments

Comments
 (0)