Manage Azure Key Vault keys and secrets with RBAC authorization instead of legacy access policies

domain: learn.microsoft.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a Key Vault with Azure RBAC permission model enabled (set --enable-rbac-authorization true at creation or migrate an existing vault via the portal or CLI)
  2. Assign the Key Vault Secrets Officer or Key Vault Crypto Officer built-in role to administrators, and Key Vault Secrets User or Key Vault Crypto User to applications, scoped to the specific vault or a single secret/key
  3. Create secrets with az keyvault secret set or the SDK; reference them in applications via the vault URI and secret name, never hardcode the value
  4. Create keys (RSA or EC) for encryption or signing operations; use the key identifier URI returned at creation for subsequent operations
  5. Use managed identities for Azure-hosted workloads to authenticate to Key Vault without storing credentials; assign the appropriate RBAC role to the managed identity
  6. Enable soft-delete and purge protection on the vault to protect against accidental or malicious deletion; consult current docs for retention period ranges

Known gotchas

Related routes

Configure automatic key rotation in AWS KMS and Azure Key Vault and manage the rotation lifecycle
docs.aws.amazon.com · 6 steps · unrated
Configure Auth0 Fine-Grained Authorization (FGA) with a Zanzibar-style relationship model for multi-tenant resource access
docs.fga.dev · 6 steps · unrated
Implement Keycloak fine-grained authorization with UMA 2.0 and policy evaluation API
keycloak.org · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans