Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 959
Krzysztof Czelusniak Avatar asked Mar 08 '18 22:03

Krzysztof Czelusniak


People also ask

How to create a shared access signature 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.

How to generate SAS for an Azure Blob container 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 Show activity on this post. How do I create a shared access signature with a stored access policy for an Azure Blob container in Azure Portal?

What is the difference between shared access signature and stored access policy?

Stored access policies are not supported for the user delegation SAS or the account SAS. A shared access signature is a signed URI that points to one or more storage resources. The URI includes a token that contains a special set of query parameters. The token indicates how the resources may be accessed by the client.

How do I grant limited access to Azure Storage Resources?

Grant limited access to Azure Storage resources using shared access signatures (SAS) A shared access signature (SAS) provides secure delegated access to resources in your storage account without compromising the security of your data. With a SAS, you have granular control over how a client can access your data.


2 Answers

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

enter image description here

like image 121
jophab Avatar answered Oct 19 '22 20:10

jophab


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.

like image 22
Gaurav Mantri Avatar answered Oct 19 '22 20:10

Gaurav Mantri