1
votes

I am new to Azure. I am writing my first REST API to update an Azure storage blob.

As part of the REST API header, I need to provide an authorization header as follows:

Authorization="[SharedKey|SharedKeyLite] [AccountName]:Signature"

Noticing the [AccountName] part: Does it mean that the client (issuing the API request) also needs to have an Azure account in order to request the storage resource?

Thanks in advance. Mikey

1

1 Answers

0
votes

You can find AccountName by going to azure portal -> your azure storage account:

enter image description here

Yes, the client of course needs the AccountName in the Authorization header.

The doc Specifying the Authorization header describes it clear. And we have done many works via blob storage api(like create, delete etc.), without AccountName in Authorization header, it fails to authentication.

Please let me know if you still have more issues.