Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

How to add permission to builtin role in storage account? #513

Closed himanshu219 closed 5 years ago

himanshu219 commented 5 years ago

I have a storage account and I want to give permission to one of my App Service in "Storage Account Key Operator Service Role". Similar to the below action in Azure portal.

IAM Permission

zezha-msft commented 5 years ago

Hi @himanshu219, thanks for reaching out!

Please refer to this guide.

himanshu219 commented 5 years ago

Thanks for the answer but I have already looked into that. This feature is under preview and is not for production use.

zezha-msft commented 5 years ago

@himanshu219 does the guide answer your question?

himanshu219 commented 5 years ago

Nops it refers to powershell, azure cli and rest api call. I was looking for something in python SDK.

zezha-msft commented 5 years ago

HI @himanshu219, are you looking for a sample like this one?

himanshu219 commented 5 years ago

Thanks I found the api and answered the question here https://stackoverflow.com/questions/52771941/how-to-add-permission-to-builtin-role-in-storage-account-using-azure-python-sdk/52773467?noredirect=1#comment92594352_52773467