Skip to content
Cloud Governance Tools

Azure Key Vault should use the RBAC permission model

Azure Key Vault should use the RBAC permission model is an Azure guardrail written in Azure Policy. Denies key vaults that use the legacy access policy model instead of Azure RBAC. What it breaks: existing key vaults on access policies are marked non-compliant but not changed.

More identity and privilege guardrails ยท About Azure Policy

Built-in policy definition: Azure Key Vault should use RBAC permission model
Definition ID: 12d4fa5e-1f9f-4c21-97a9-b99b3c6611b5
Category: Key Vault
Supported effects: Audit, Deny, Disabled
policyRule (copied from the repository file):
{
    "if": {
      "allOf": [
        {
          "field": "type",
          "equals": "Microsoft.KeyVault/vaults"
        },
        {
          "not": {
            "field": "Microsoft.KeyVault/vaults/createMode",
            "equals": "recover"
          }
        },
        {
          "anyOf": [
            {
              "field": "Microsoft.KeyVault/vaults/enableRbacAuthorization",
              "exists": "false"
            },
            {
              "field": "Microsoft.KeyVault/vaults/enableRbacAuthorization",
              "equals": "false"
            }
          ]
        }
      ]
    },
    "then": {
      "effect": "[parameters('effect')]"
    }
  }
Blocks
Denies key vaults that use the legacy access policy model instead of Azure RBAC.
Breaks
Existing key vaults on access policies are marked non-compliant but not changed. (source)
Test before applying
As for every Azure Policy guardrail: how to test before enforcing
Mechanism
Azure Policy (built-in definitions): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
Taken from
open source set, MIT License, Azure/azure-policy repository, https://raw.githubusercontent.com/Azure/azure-policy/master/LICENSE

What the source says

"Enable RBAC permission model across Key Vaults." (read 10 Nov 2026).

What it breaks is documented for every guardrail of this mechanism: see Azure Policy.

Sources

  1. Azure Key Vault should use the RBAC permission model, read 10 Nov 2026
  2. What it breaks, read 10 Nov 2026
  3. How to test it first, read 10 Nov 2026

Last reviewed 16 Nov 2026.