Skip to content

Commit b304f38

Browse files
Merge pull request #231763 from suzizuber/szuber/update-cmk-portal-new-step-4
Szuber/update cmk portal new step 4
2 parents 704fd14 + 8ed1f15 commit b304f38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-vmware/configure-customer-managed-keys.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Before you begin to enable customer-managed key (CMK) functionality, ensure the
6363
privateCloudId=$(az vmware private-cloud show --name $privateCloudName --resource-group $resourceGroupName --query id | tr -d '"')
6464
```
6565
66-
To configure the system-assigned identity on Azure VMware Solution private cloud with Azure CLI, call [az-resource-update](/cli/azure/resource?view=azure-cli-latest#az-resource-update) and provide the variable for the private cloud resource ID that you previously retrieved.
66+
To configure the system-assigned identity on Azure VMware Solution private cloud with Azure CLI, call [az-resource-update](/cli/azure/resource?view=azure-cli-latest#az-resource-update&preserve-view=true) and provide the variable for the private cloud resource ID that you previously retrieved.
6767
6868
```azurecli-interactive
6969
az resource update --ids $privateCloudId --set identity.type=SystemAssigned --api-version "2021-12-01"
@@ -77,7 +77,7 @@ Before you begin to enable customer-managed key (CMK) functionality, ensure the
7777
1. Navigate to **Key vaults** and locate the key vault you want to use.
7878
1. From the left navigation, under **Settings**, select **Access policies**.
7979
1. In **Access policies**, select **Add Access Policy**.
80-
1. From the Key Permissions drop-down, check **Select all**, **Unwrap Key**, and **Wrap Key**.
80+
1. From the Key Permissions drop-down, check: **Select all**, **Get**, **List**, **Wrap Key**, and **Unwrap Key**.
8181
1. Under Select principal, select **None selected**. A new **Principal** window with a search box will open.
8282
1. In the search box, paste the **Object ID** from the previous step, or search the private cloud name you want to use. Choose **Select** when you're done.
8383
1. Select **ADD**.
@@ -153,7 +153,7 @@ Navigate to your **Azure Key Vault** and provide access to the SDDC on Azure Key
153153
154154
# [Azure CLI](#tab/azure-cli)
155155
156-
To configure customer-managed keys for an Azure VMware Solution private cloud with automatic updating of the key version, call [az vmware private-cloud add-cmk-encryption](/cli/azure/vmware/private-cloud?view=azure-cli-latest#az-vmware-private-cloud-add-cmk-encryption). Get the key vault URL and save it to a variable. You'll need this value in the next step to enable CMK.
156+
To configure customer-managed keys for an Azure VMware Solution private cloud with automatic updating of the key version, call [az vmware private-cloud add-cmk-encryption](/cli/azure/vmware/private-cloud?view=azure-cli-latest#az-vmware-private-cloud-add-cmk-encryption&preserve-view=true). Get the key vault URL and save it to a variable. You'll need this value in the next step to enable CMK.
157157
158158
```azurecli-interactive
159159
keyVaultUrl =$(az keyvault show --name <keyvault_name> --resource-group <resource_group_name> --query properties.vaultUri --output tsv)

0 commit comments

Comments
 (0)