QuestionQ92

VerifiedManage Azure identities and governance

You have an Azure Storage account named storage1.

You need to enable a user named User1 to list and regenerate the storage account keys for storage1.

Solution: Assign the Reader and Data Access role to User1.

Does this satisfy the goal?

Explanation

The Reader and Data Access role permits listing storage account keys, but regenerating a key requires the Microsoft.Storage/storageAccounts/regeneratekey/action permission. That permission is not included in this role, so it cannot meet the requirement to both list and regenerate storage account keys.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!