Hi,
I know this question has been asked and answered several times but yet I can find numerous questions still posted daily..#
I am trying to do a very simple thing.
A. Go to Azure Portal and drill down to blob storage container
B. Go to Shared Access Signature. Specify details like Permission [Read, List, Write], Start and Expiry Date and time [Today-now till one year]
C. No IP Address Filter [Even the account has no firewall setting], HTTPS only.
D. Press Generate SAS Token and URL
Now if I copy and Paste [Browser and Postman] to check, it does not work, and I am irritated that a simple thing in azure has been made complicated.
<Error>
<Code>AuthenticationFailed</Code>
<Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:697dac34-601e-0056-2888-5753cf000000 Time:2021-06-02T08:22:40.0347860Z</Message>
<AuthenticationErrorDetail>Signature did not match. String to sign used was r 2021-06-02T08:16:04Z 2021-06-02T16:16:04Z /blob/Container/$root https 2020-02-10 c </AuthenticationErrorDetail>
</Error>
One point I notice is that the Time in token is one hour behind the current time, though My laptop is set to same Azure region where the time matches [Windows and Azure]
And I am lost and frustrated....
Need pointers in the right direction.
All the articles explain the difference between various access types and what is SAS, but no help on how to do it...