Access files in container using shared access SAS tokens

戈乐 钦 41 Reputation points
2022-12-06T00:59:55.36+00:00

Hi, I am wondering how can I use the shared SAS tokens generated by the button with red rectangle of the picture below to read the files in containers.
267481-image.png

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,285 questions
Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
259 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,843 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,251 Reputation points Microsoft Employee
    2022-12-06T04:49:10.497+00:00

    Hello @戈乐 钦 ,
    Once you generate the SAS key , find out the file which you want to read - then use the below command in the browser:

    Example in my case:
    I have a container with name test2 in that I want to access the blob books.csv , so the whole syntax looks like below:

    https://storageaccountname.blob.core.windows.net/test2/books.csv?SASKEY

    https://storageaccountname.blob.core.windows.net/containername/blobfilename?SASKEY

    Above is one way of accessing , you also use azcopy or you can use the SAS key programmatically etc. The above example is the basic one !

    Hope that helps

    Regards,
    Shiva.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.