Skip to content

Commit 2812423

Browse files
author
Larry
committed
draft update of resource manager template document
1 parent 9dd9d44 commit 2812423

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,27 @@ az group deployment create \
105105

106106
For more information, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md) and [Deploy private Resource Manager template with SAS token and Azure CLI](../azure-resource-manager/templates/secure-template-with-sas-token.md).
107107

108+
## Enable encryption and use existing Azure KeyVault
109+
110+
The following example template demonstrates how you can create a workspace with encryption enabled. It also demonstrates how you can use existing resources such as Azure KeyVault.
111+
112+
[TBD - reference template here]
113+
114+
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:
115+
116+
```azurecli-interactive
117+
az keyvault show --name mykeyvault --resource-group myresourcegroup --query "[id,
118+
properties.vaultUri]```
119+
120+
This command returns a value similar to the following text:
121+
122+
```text
123+
[
124+
"/subscriptions/{subscription-guid}/resourceGroups/myresourcegroup/providers/Microsoft.KeyVault/vaults/mykeyvault",
125+
"https://mykeyvault.vault.azure.net/"
126+
]
127+
```
128+
108129
## Troubleshooting
109130

110131
### Resource provider errors
@@ -190,7 +211,7 @@ To avoid this problem, we recommend one of the following approaches:
190211
}
191212
```
192213
193-
After these changes, you can specify the ID of the existing Key Vault resource when running the template. The template will then re-use the Key Vault by setting the `keyVault` property of the workspace to its ID.
214+
After these changes, you can specify the ID of the existing Key Vault resource when running the template. The template will then reuse the Key Vault by setting the `keyVault` property of the workspace to its ID.
194215
195216
To get the ID of the Key Vault, you can reference the output of the original template run or use the Azure CLI. The following command is an example of using the Azure CLI to get the Key Vault resource ID:
196217

0 commit comments

Comments
 (0)