Monday, January 27, 2020

Data Platform Tips 61 - Create a SAS to download file from Azure Storage

In this post, let us look us how to provision an Azure Storage Service and a blob container and create a SAS to download file from Azure Storage using Azure Portal.

a) Logon to the Azure Portal.

b) Search for "Azure Storage" in the market place.

c) Create a Storage account as shown below.

d) Once provisioned, you can see the Azure Storage account service created.

e) Create a new container named "democontainer" and upload a file.

f) Right-click on the file and select "Generate SAS" and provide the necessary attributes and click on "Generate SAS token and URL".

g) Now copy the SAS URL and paste it on a new browser window and you will be able to download the file from the Azure Storage. Note: The SAS URL is valid until the duration you specified as part of the Expiry attribute when you generated the SAS.

No comments:

Post a Comment