How to create a shared access signature with a stored access policy for an Azure Blob container in Azure Portal?

淺唱寂寞╮ 提交于 2020-01-01 02:31:06

问题


I read about shared access signatures generated with stored access policies for Azure Storage from here.

I also read how to create this shared access signature with stored access policies for Azure Storage using PowerShell here.

However, I want to do the above using Azure Portal. I know how to generate an ad-hoc shared access signature. I also know how to create a stored access policy for a container in my Azure Blob.

How do I create a shared access signature with a stored access policy for an Azure Blob container in Azure Portal?


回答1:


How do I create a shared access signature with a stored access policy for an Azure Blob container in Azure Portal?

Simple answer to your question is that as of today you can't create a shared access signature (SAS) using a stored access policy in Azure Portal. This feature is not there yet. In fact, feature to create a SAS on a blob container is not there on the portal as of yet. You could only create account level SAS using Azure Portal.

If you need to create a SAS on a container using a stored access policy, please use Microsoft Storage Explorer tool (or any other storage explorer tool that has support for blobs management). Using this tool you will be able to specify a stored access policy when creating a SAS on the container.




回答2:


Preview of Storage Explorer is now available in Azure portal.

You can generate SAS for a container by right clicking on the container and select Get Shared Access Signature like we do in Storage Explorer using the preview




回答3:


You can now generate a Sas Token from the Azure Portal:



来源:https://stackoverflow.com/questions/49183736/how-to-create-a-shared-access-signature-with-a-stored-access-policy-for-an-azure

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