Azure Security built-in role

Key Vault Crypto User

Uses Key Vault keys for cryptographic operations. The published definition includes key read, update, backup, encrypt, decrypt, wrap, unwrap, sign, and verify DataActions, but not key creation, deletion, purge, rotation-policy management, or Azure RBAC permission management. It requires the Azure RBAC permission model.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 12338af0-0e69-4776-bea7-57ae8d297424

Control-plane actions (0)

None — this role grants no control-plane management actions.

Data-plane actions (9)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign to the workload identity at the individual key or dedicated vault. Parent assignments are inherited by child vaults and keys. Use a separate vault per application and environment, and use object-level assignment only when the documented exception is preferable to a separate vault boundary.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Key Vault Crypto User to the application managed identity at the key or dedicated vault scope only when its full published operation set is required. Use Crypto Service Encryption User for service-encryption metadata and wrap/unwrap operations, and Crypto Officer for approved key lifecycle administration.

Related roles (2)

Common questions

When should I assign the Key Vault Crypto User Azure role?

Assign Key Vault Crypto User when you need to: Allow an application to encrypt and decrypt data or wrap and unwrap data-encryption keys with an existing Key Vault key.; and Allow a workload to sign and verify data with an existing key while keeping key creation and deletion with a separate officer.. Practical scope: Assign to the workload identity at the individual key or dedicated vault. Parent assignments are inherited by child vaults and keys. Use a separate vault per application and environment, and use object-level assignment only when the documented exception is preferable to a separate vault boundary.

What permissions does the Key Vault Crypto User Azure role grant?

The role definition grants 9 combined control-plane and data-plane actions. Representative operations include: Microsoft.KeyVault/vaults/keys/read; Microsoft.KeyVault/vaults/keys/update/action; Microsoft.KeyVault/vaults/keys/backup/action; Microsoft.KeyVault/vaults/keys/encrypt/action; Microsoft.KeyVault/vaults/keys/decrypt/action; and Microsoft.KeyVault/vaults/keys/wrap/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Key Vault Crypto User Azure role?

Key considerations when assigning Key Vault Crypto User: Decrypt, unwrap, and sign operations can expose protected data or produce trusted signatures if the workload identity is compromised.; Key backup can create material that may be restored as an independent copy, which is broader than routine cryptographic use.; and The role cannot create or delete keys or assign permissions, but it is still privileged data-plane access to cryptographic operations.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →