Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you used a stored access policy while creating a Blob SAS, the SAS would incorrectly be a container SAS #2981

Closed
MRayermannMSFT opened this issue May 14, 2020 · 0 comments
Labels
✅ merged A fix for this issue has been merged
Milestone

Comments

@MRayermannMSFT
Copy link
Member

  1. Create a policy with all permissions
  2. Create a SAS for a specific blob using the above policy
    a. The result is https://REDACTED.blob.core.windows.net/bar2/bla.txt?sv=2019-02-02&si=bar2-1720577EA61&sr=c&sig=REDACTED
    b. Note the “sr=c”, which doesn’t seem correct
  3. Try to download the blob by pasting the URL into a browser

Result:

AuthenticationFailed Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:8e2cb818-e01e-000d-31d4-272027000000 Time:2020-05-11T20:41:31.2257543Z Signature did not match. String to sign used was...

@MRayermannMSFT MRayermannMSFT added this to the 1.13.1 milestone May 14, 2020
@MRayermannMSFT MRayermannMSFT added the ✅ merged A fix for this issue has been merged label May 14, 2020
@MRayermannMSFT MRayermannMSFT added this to Committed in Storage Explorer via automation May 14, 2020
Storage Explorer automation moved this from Committed to Done May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ merged A fix for this issue has been merged
Projects
Development

No branches or pull requests

1 participant