Skip to content

Commit 5ea0534

Browse files
removed the reader permission as now it is not required
removed the reader permission as now it is not required
1 parent 4dd853a commit 5ea0534

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

articles/virtual-machines/linux/disk-encryption.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ For now, customer-managed keys have the following restrictions:
127127
desIdentity=$(az disk-encryption-set show -n $diskEncryptionSetName -g $rgName --query [identity.principalId] -o tsv)
128128
129129
az keyvault set-policy -n $keyVaultName -g $rgName --object-id $desIdentity --key-permissions wrapkey unwrapkey get
130-
131-
az role assignment create --assignee $desIdentity --role Reader --scope $keyVaultId
132130
```
133131
134132
#### Create a VM using a Marketplace image, encrypting the OS and data disks with customer-managed keys

0 commit comments

Comments
 (0)