Skip to content

Decide how to handle identity_config for token exchange #20575

@chlowell

Description

@chlowell

ManagedIdentityCredential ignores identity_config in a token exchange environment. Token exchange only accepts "client_id" so doing anything with identity_config requires first deciding what to do with values other than {"client_id": "..."}, and a redundant client_id kwarg. My first thought:

  • identity_config + client_id = ValueError
  • identity_config != {"client_id": "..."}: ValueError
  • otherwise, client_id=identity_config["client_id"]

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions