Skip to content

Commit d045b12

Browse files
authored
Merge pull request #112011 from Blackmist/changing-template
notes
2 parents 500ea68 + 9833f2a commit d045b12

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

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

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ The following example template demonstrates how to create a workspace with three
7777

7878
* Enable high confidentiality settings for the workspace
7979
* Enable encryption for the workspace
80-
* Uses an existing Azure Key Vault
80+
* Uses an existing Azure Key Vault to retrieve customer-managed keys
81+
82+
For more information, see [Encryption at rest](concept-enterprise-security.md#encryption-at-rest).
8183

8284
```json
8385
{
@@ -117,7 +119,7 @@ The following example template demonstrates how to create a workspace with three
117119
"description": "Specifies the sku, also referred to as 'edition' of the Azure Machine Learning workspace."
118120
}
119121
},
120-
"confidential_data":{
122+
"high_confidentiality":{
121123
"type": "string",
122124
"defaultValue": "false",
123125
"allowedValues": [
@@ -252,28 +254,32 @@ The following example template demonstrates how to create a workspace with three
252254
"keyIdentifier": "[parameters('resource_cmk_uri')]"
253255
}
254256
},
255-
"hbiWorkspace": "[parameters('confidential_data')]"
257+
"hbiWorkspace": "[parameters('high_confidentiality')]"
256258
}
257259
}
258260
]
259261
}
260262
```
261263

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:
264+
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:
263265

264266
```azurecli-interactive
265-
az keyvault show --name mykeyvault --resource-group myresourcegroup --query "[id, properties.vaultUri]"
267+
az keyvault show --name mykeyvault --resource-group myresourcegroup --query "id"
266268
```
267269

268-
This command returns a value similar to the following text. The first value is the ID and the second is the URI:
270+
This command returns a value similar to `"/subscriptions/{subscription-guid}/resourceGroups/myresourcegroup/providers/Microsoft.KeyVault/vaults/mykeyvault"`.
271+
272+
To get the URI for the customer managed key, use the following command:
269273

270-
```text
271-
[
272-
"/subscriptions/{subscription-guid}/resourceGroups/myresourcegroup/providers/Microsoft.KeyVault/vaults/mykeyvault",
273-
"https://mykeyvault.vault.azure.net/"
274-
]
274+
```azurecli-interactive
275+
az keyvault key show --vault-name mykeyvault --name mykey --query "key.kid"
275276
```
276277

278+
This command returns a value similar to `"https://mykeyvault.vault.azure.net/keys/mykey/{guid}"`.
279+
280+
> [!IMPORTANT]
281+
> 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.
282+
277283
## Use the Azure portal
278284

279285
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)