Azure Security built-in role

Managed HSM contributor

Manages Azure Key Vault Managed HSM resources in the Azure control plane, including Managed HSM lifecycle and deleted-HSM recovery or purge operations. It has no DataActions and does not grant access to HSM-backed keys, local role assignments, backups, restores, or the security domain.

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: 18500a29-7fe2-46b2-a342-b16a415e101d

Control-plane actions (5)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign on the individual Managed HSM or its dedicated resource group. Parent-scope Azure RBAC assignments are inherited for the control plane. Managed HSM key access is a separate data plane enforced by Managed HSM local RBAC at HSM or key scope and is not inherited from this Azure role.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Managed HSM contributor to the infrastructure team at the individual HSM or dedicated resource-group scope. Assign Managed HSM local RBAC separately to key custodians and workloads, preserve separation of duties, and require explicit approval for delete, recover, or purge operations.

Common questions

When should I assign the Managed HSM contributor Azure role?

Assign Managed HSM contributor when you need to: Provision, configure, move, update, delete, recover, or purge a Managed HSM resource in an approved lifecycle workflow.; and Operate Managed HSM control-plane properties and tags while a separate security team controls keys and local RBAC.. Practical scope: Assign on the individual Managed HSM or its dedicated resource group. Parent-scope Azure RBAC assignments are inherited for the control plane. Managed HSM key access is a separate data plane enforced by Managed HSM local RBAC at HSM or key scope and is not inherited from this Azure role.

What permissions does the Managed HSM contributor Azure role grant?

The role definition grants 5 combined control-plane and data-plane actions. Representative operations include: Microsoft.KeyVault/managedHSMs/*; Microsoft.KeyVault/deletedManagedHsms/read; Microsoft.KeyVault/locations/deletedManagedHsms/read; Microsoft.KeyVault/locations/deletedManagedHsms/purge/action; and Microsoft.KeyVault/locations/managedHsmOperationResults/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Managed HSM contributor Azure role?

Key considerations when assigning Managed HSM contributor: The role can delete or permanently purge a Managed HSM resource, causing outage or irreversible loss if recovery and security-domain procedures fail.; Control-plane access does not grant key or local-role access by design, and it must never be represented as a Managed HSM crypto role.; and Conversely, removing local data-plane access does not prevent this Azure control-plane administrator from changing or deleting the HSM resource.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →