Doing a fetch-attributes on a container using SAS


I’ve bumped into a funny Windows Azure Storage API feature lately.

I was trying to read / write the meta data of a blob-container using a Shared Access Signature (SAS) and got a 404 Resource Not Found.

Well, after flipping my algorithm upside down quite a few times I considered that was by designed.

It is confirmed, it is by design!

You cannot use a Shared Access Signature to create or delete a container, or to read or write container properties or metadata.

(See http://msdn.microsoft.com/en-us/library/ee395415.aspx)

Thanks to Neil Mackenzie for providing the reference!

Of course, this means that if you really need to do this, you have to use your Primary or Secondary Key and no SAS.  Sad…

One thought on “Doing a fetch-attributes on a container using SAS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s