← cd ~/compare
// compare · azure roles
Storage Account Contributor vs Storage Blob Data Contributor
Two Azure built-in roles that are often confused, compared permission by permission.
In short: Storage Account Contributor has 9 actions. Storage Blob Data Contributor has 4 actions, 5 data actions. Assign the one with less access that still covers the job.
| Detail | Storage Account Contributor | Storage Blob Data Contributor |
|---|---|---|
| What Microsoft says | Lets you manage storage accounts, including accessing storage account keys which provide full access to storage account data. | Allows for read, write and delete access to Azure Storage blob containers and data |
| Size | 9 actions | 4 actions, 5 data actions |
Permissions only Storage Account Contributor lists (9)
Microsoft.Authorization/*/readMicrosoft.Insights/alertRules/*Microsoft.Insights/diagnosticSettings/*Microsoft.Network/virtualNetworks/subnets/joinViaServiceEndpoint/actionMicrosoft.ResourceHealth/availabilityStatuses/readMicrosoft.Resources/deployments/*Microsoft.Resources/subscriptions/resourceGroups/readMicrosoft.Storage/storageAccounts/*Microsoft.Support/*
Permissions only Storage Blob Data Contributor lists (4)
Microsoft.Storage/storageAccounts/blobServices/containers/deleteMicrosoft.Storage/storageAccounts/blobServices/containers/readMicrosoft.Storage/storageAccounts/blobServices/containers/writeMicrosoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action
Azure roles use wildcards such as *, and NotActions take permissions away, so a role can cover an action without listing it. Check the role pages for the full picture.
Storage Account Contributor explained Storage Blob Data Contributor explained
Spotted something out of date or wrong? Tell us and we'll fix it.