Skip to content

Commit dce31ce

Browse files
authored
Merge pull request #110054 from tamram/tamram-0402
remove 'recover' perm from key examples
2 parents 1af9164 + bd4fc4e commit dce31ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

articles/storage/common/storage-encryption-keys-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 03/31/2020
10+
ms.date: 04/02/2020
1111
ms.author: tamram
1212
ms.reviewer: cbrooks
1313
ms.subservice: common
@@ -69,7 +69,7 @@ az keyvault set-policy \
6969
--name <key-vault> \
7070
--resource-group <resource_group>
7171
--object-id $storage_account_principal \
72-
--key-permissions get recover unwrapKey wrapKey
72+
--key-permissions get unwrapKey wrapKey
7373
```
7474

7575
## Create a new key

articles/storage/common/storage-encryption-keys-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 03/10/2020
10+
ms.date: 04/02/2020
1111
ms.author: tamram
1212
ms.reviewer: cbrooks
1313
ms.subservice: common
@@ -59,7 +59,7 @@ To set the access policy for the key vault, call [Set-AzKeyVaultAccessPolicy](/p
5959
Set-AzKeyVaultAccessPolicy `
6060
-VaultName $keyVault.VaultName `
6161
-ObjectId $storageAccount.Identity.PrincipalId `
62-
-PermissionsToKeys wrapkey,unwrapkey,get,recover
62+
-PermissionsToKeys wrapkey,unwrapkey,get
6363
```
6464

6565
## Create a new key

0 commit comments

Comments
 (0)