Home > Net >  How to Access Azure Table Storage using Shared Access Key in Postman?
How to Access Azure Table Storage using Shared Access Key in Postman?

Time:11-23

I use the SAS key to make a GET request for the table, but I get the error "This request is not authorized to perform this operation.". What values should I fill in on the authorization tab to work this out?

enter image description here

And below are the settings in my Postman enter image description here

The url I used for my query was https://anumystorage.table.core.windows.net/mytable(PartitionKey='A',RowKey='B')<your_sas_token> <-- Replace <your_sas_token> with your own Sas starting with '?sv=.....'

The information on the Table storage Rest API can be found here.

CodePudding user response:

I tried to reproduce the same in my environment and got the below results successfully:

I created an Azure Storage Account and created Table storage:

enter image description here

I generated SAS URL by checking the below options:

enter image description here

Copy the Azure Table Storage SAS:

enter image description here

To access the Azure Table Storage, include the Table Storage Name like below:

https://StorageAccount.table.core.windows.net/TableStorage?TableSASUrl

Response:

enter image description here

  • Related