Azure Storage Account - Read Only Group

China☆狼群 提交于 2019-12-12 14:24:51

问题


I have an Azure Storage account, and a group of users called 'Readers' I want to give the Readers group read-only access to all blobs and containers in the storage account.

I've tried: In the Storage Account > Access Control > Add >

Role: Storage Blob Data Reader
Assign access to: Azure AD user, group, or application
Select: Readers

But users in the Readers group could not even see the storage account to try and access it.

I then removed the above access control and tried: I've tried: In the Storage Account > Access Control > Add >

Role: Reader
Assign access to: Azure AD user, group, or application
Select: Readers

With this one, the user could see the storage account but not access Blobs

I have also tried having both of these set, and the user could see the Blobs but not access them.

Does anyone know how to grant Read-Only access to the blobs and its contents?

One key requirement is that they should not be able to get to the Access Keys of the storage account.


回答1:


Currently Storage Blob Data Reader role is in preview. With RBAC you can only control access to the operations used to manage that storage account, but not to the data objects in the account. For example, you can grant permission to retrieve the properties of the storage account (such as redundancy), but not to a container or data within a container inside Blob Storage. I suggest you use Shared Access Signature to grant permissions to Azure blob storage.

For more information refer: https://docs.microsoft.com/en-us/azure/storage/common/storage-security-guide#granting-access



来源:https://stackoverflow.com/questions/49812699/azure-storage-account-read-only-group

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!