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
Milestone

Comments

@MRayermannMSFT
Copy link
Member

@MRayermannMSFT MRayermannMSFT commented May 14, 2020

  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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.