How can we improve Azure Storage?

Add x-ms- request headers in Shared Access Signatures URI

As SAS is defined as a URI that grants restricted access rights to Azure Storage resources. I think it will be helpful to add custom headers to the URI. For example, the request for Put Blob could be https://...&...&x-ms-blob-type=BlockBlob. In this way, we can set what we need in the URI and just focus on it.

7 votes
Vote
Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Lance Chen shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
Submitting...
  • Alexander Klimetschek commented  ·   ·  Flag as inappropriate

    +1

    SAS URLs are useful to be self-contained, standard HTTP, so that a remote client is not required to know about storage provider specific semantics. The required `x-ms-blob-type` header is effectively the only one that breaks this principle.

  • tjgalama commented  ·   ·  Flag as inappropriate

    Although there are several x-ms-* header arguments this item especially count for mandatory header arguments like 'x-ms-blob-type' during a PUT.

Feedback and Knowledge Base