Skip to content

aztables: support azidentity cred for cosmos db account  #21760

Open

Description

Feature Request

I went through the aztable go sdk
readme page
and saw it mentioned Storage account can use the same credentials as a Cosmos account and can use the credentials in
azidentity like azidentity.NewDefaultAzureCredential(). I personally tried and verified the azidentity.NewDefaultAzureCredential() with my cosmos db tables and I saw this error

{
  "odata.error": {
    "code": "Unauthorized",
    "message": {
      "lang": "en-us",
      "value": "Authorization header doesn't confirm to the required format. Please verify and try again.\r\nActivityId: eeb9ba60-31d6-48a4-b451-6fa3153a7117, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.17763.0\nRequestID:eeb9ba60-31d6-48a4-b451-6fa3153a7117\n"
    }
  }
}

it would be helpful if we have this new feature. Thanks

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

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Tablescustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions