Azure Security built-in role

Key Vault Crypto Service Encryption User

Reads Key Vault key metadata and performs wrap and unwrap data-plane operations for service-encryption scenarios. It also manages the Event Grid subscriptions exposed by the built-in definition, has no general key lifecycle authority, and works only with vaults using Azure RBAC.

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: e147488a-f6f5-4113-8e2d-b22465e65bf6

Control-plane actions (3)

Data-plane actions (3)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign to the managed identity of the Azure service at the individual key or vault scope documented by that service. Parent assignments are inherited by child vaults and keys. Microsoft recommends a vault per application and environment rather than broad shared-vault access.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Key Vault Crypto Service Encryption User to the documented service managed identity at the key or vault scope required by the integration. Do not use it as a general human crypto role, and validate encryption, rotation, logging, and recovery before removing prior key access.

Common questions

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

Assign Key Vault Crypto Service Encryption User when you need to: Allow an Azure service identity to wrap and unwrap its data-encryption keys with a customer-managed Key Vault key.; and Read the key metadata required by a service-encryption integration without granting key creation, deletion, signing, or general decrypt operations.. Practical scope: Assign to the managed identity of the Azure service at the individual key or vault scope documented by that service. Parent assignments are inherited by child vaults and keys. Microsoft recommends a vault per application and environment rather than broad shared-vault access.

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

The role definition grants 6 combined control-plane and data-plane actions. Representative operations include: Microsoft.EventGrid/eventSubscriptions/write; Microsoft.EventGrid/eventSubscriptions/read; Microsoft.EventGrid/eventSubscriptions/delete; Microsoft.KeyVault/vaults/keys/read; Microsoft.KeyVault/vaults/keys/wrap/action; and Microsoft.KeyVault/vaults/keys/unwrap/action. Review the permission sections above for the complete definition and exclusions.

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

Key considerations when assigning Key Vault Crypto Service Encryption User: Unwrap authority can reveal the plaintext data-encryption key to the authorized service or a compromised caller acting as that identity.; Removing, disabling, deleting, or rotating the key incorrectly can make the dependent service data unavailable.; and Key read exposes public material for asymmetric keys but does not expose private or symmetric key material. The role does not grant general key management, but unwrap remains sensitive data-plane cryptographic authority.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →