azure-sdk-for-cpp icon indicating copy to clipboard operation
azure-sdk-for-cpp copied to clipboard

Add support for customizing the IMDS endpoint within ManagedIdentityCredential

Open ahsonkhan opened this issue 1 year ago • 0 comments

Here’s my strawman proposal for the env var we’d add support for, which I am leaning towards: AZURE_IMDS_CUSTOM_AUTHORITY_HOST

Here are trade-offs with this name. Pro:

  • Reflects more accurately what it is and does (self-describing).
  • Builds on the learnings from other languages that shipped before (avoiding terminology that could be confusing).

Con:

  • Inconsistent with other languages.

For context, the name used in other language SDKs is: AZURE_POD_IDENTITY_AUTHORITY_HOST

ahsonkhan avatar May 21 '24 19:05 ahsonkhan