Azure Storage built-in role

Storage Account Key Operator Service Role

Lists and regenerates access keys on Azure Resource Manager storage accounts. The role has no DataActions, but anyone who obtains an account key can authorize requests to all account data through Shared Key and can sign service or account SAS tokens.

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: 81a9662b-bebf-436f-a333-f67b29880f12

Control-plane actions (2)

Data-plane actions (0)

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

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

The role is assignable throughout the Azure hierarchy. Assign it on an individual storage account whenever possible; resource-group or subscription scope grants key operations on every inheriting account. Its authority is key management, not granular Microsoft Entra data access.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Storage Account Key Operator Service Role only to controlled rotation or compatibility automation, scoped to one storage account. Protect key material, coordinate a two-key rotation, monitor Shared Key usage, and remove the assignment when the operation completes.

Common questions

When should I assign the Storage Account Key Operator Service Role Azure role?

Assign Storage Account Key Operator Service Role when you need to: Run controlled account-key rotation automation for a storage account that still permits Shared Key.; and Retrieve a key for a documented legacy integration that cannot use Microsoft Entra authorization.. Practical scope: The role is assignable throughout the Azure hierarchy. Assign it on an individual storage account whenever possible; resource-group or subscription scope grants key operations on every inheriting account. Its authority is key management, not granular Microsoft Entra data access.

What permissions does the Storage Account Key Operator Service Role Azure role grant?

The role definition grants 2 combined control-plane and data-plane actions. Representative operations include: Microsoft.Storage/storageAccounts/listkeys/action; and Microsoft.Storage/storageAccounts/regeneratekey/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Storage Account Key Operator Service Role Azure role?

Key considerations when assigning Storage Account Key Operator Service Role: Listing a key exposes all account data through Shared Key outside granular Azure RBAC data-role enforcement.; Regeneration can interrupt every client using the key and invalidates service or account SAS tokens signed with it.; and The service-role name does not reduce the privilege of direct human assignment; key access must be tightly controlled and monitored.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →