# Azure Key Vault should use the RBAC permission model

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

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.

```text
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](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effect-deny))
- **Test before applying:** As for every Azure Policy guardrail: [how to test before enforcing](/mechanisms/azure-policy/)
- **Mechanism:** [Azure Policy (built-in definitions)](/mechanisms/azure-policy/): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
- **Taken from:** [open source set](https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/Key%20Vault/Should_Use_RBAC.json), 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](/mechanisms/azure-policy/).

## Related guardrails

- [Prevent root credentials management in member accounts](/guardrails/aws-scp-deny-member-root-credentials/): AWS, Service control policies (SCPs), identity and privilege
- [Deny the root user except for S3 bucket policy changes](/guardrails/aws-scp-deny-root-except-s3-bucket-policy/): AWS, Service control policies (SCPs), identity and privilege
- [Deny critical IAM user actions](/guardrails/aws-scp-deny-critical-iam-user-actions/): AWS, Service control policies (SCPs), identity and privilege
- [Storage accounts should prevent shared key access](/guardrails/azure-policy-storage-no-shared-key/): Azure, Azure Policy (built-in definitions), identity and privilege
- [Azure SQL Database should have Microsoft Entra-only authentication enabled](/guardrails/azure-policy-sql-entra-only/): Azure, Azure Policy (built-in definitions), identity and privilege

## Related pages

- [Configure key vaults to enable the firewall (Azure Azure Policy)](/guardrails/azure-policy-keyvault-firewall/)
- [OS and data disks should be encrypted with a customer-managed key (Azure Azure Policy)](/guardrails/azure-policy-disk-cmk/)
- [Azure SQL Database should have Microsoft Entra-only authentication enabled (Azure Azure Policy)](/guardrails/azure-policy-sql-entra-only/)

## Sources

- Azure Key Vault should use the RBAC permission model: https://raw.githubusercontent.com/Azure/azure-policy/master/built-in-policies/policyDefinitions/Key%20Vault/Should_Use_RBAC.json (read 10 Nov 2026)
- What it breaks: https://learn.microsoft.com/en-us/azure/governance/policy/concepts/effect-deny (read 10 Nov 2026)
- How to test it first: https://learn.microsoft.com/en-us/azure/governance/policy/concepts/assignment-structure (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudgovernancetools.com/guardrails/azure-policy-keyvault-use-rbac/
