“Authentication not in correct format” when setting Azure Blob Service Properties (REST API)

前端 未结 3 1229
死守一世寂寞
死守一世寂寞 2021-01-20 23:43

I am trying to set CORS rules on my Azure Blob Storage account by following these instructions.

This is the error I receive after making my request:

3条回答
  •  终归单人心
    2021-01-21 00:17

    The request has an incomplete Authorization header. It needs to contain the authentication scheme, storage account name, and signature. For example;

    Authorization: SharedKey myaccount:Z1lTLDwtq5o1UYQluucdsXk6/iB7YxEu0m6VofAEkUE=
    

    For more information, see Authentication for the Windows Azure Storage Services. On the other hand, if you use one of the Windows Azure Storage Client Libraries, it will handle the authentication for you. For .NET library, please see our NuGet package.

提交回复
热议问题