Skip to content

Commit c2f6acf

Browse files
authored
Corrected custom role with correct permissions.
Trying to enable CMK with RBAC permissions enabled on a keyvault and the custom role having the permission "Microsoft.KeyVault/vaults/keys/read" as an action it failed. Found moving the permission to a dataAction allowed CMK to be enabled.
1 parent 924ea0c commit c2f6acf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/azure-netapp-files/configure-customer-managed-keys.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,10 @@ You can use an Azure Key Vault that is configured to use Azure role-based access
315315
],
316316
"permissions": [
317317
{
318-
"actions": ["Microsoft.KeyVault/vaults/keys/read"],
318+
"actions": [],
319319
"notActions": [],
320320
"dataActions": [
321+
"Microsoft.KeyVault/vaults/keys/read",
321322
"Microsoft.KeyVault/vaults/keys/encrypt/action",
322323
"Microsoft.KeyVault/vaults/keys/decrypt/action"
323324
],

0 commit comments

Comments
 (0)