Remediation
From Azure Portalβ
Key Vaults can be configured to use Azure role-based access control
on creation.
For existing Key Vaults:
- From Azure Home open the Portal Menu in the top left corner.
- Select
Key Vaults
. - Select a Key Vault to audit.
- Select
Access configuration
. - Set the Permission model radio button to
Azure role-based access control
, taking note of the warning message. - Click
Save
. - Select
Access Control (IAM)
. - Select the
Role Assignments
tab. - Reapply permissions as needed to groups or users.
From Azure CLIβ
To enable RBAC Authorization for each Key Vault, run the following Azure CLI command:
az keyvault update --resource-group <RESOURCE GROUP NAME> --name <KEY VAULT NAME> --enable-rbac-authorization true
From PowerShellβ
To enable RBAC authorization on each Key Vault, run the following PowerShell command:
Update-AzKeyVault -ResourceGroupName <RESOURCE GROUP NAME> -VaultName <KEY VAULT NAME> -EnableRbacAuthorization $True