Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure.Identity credentials which have parameters with corresponding Environment variables should respect them. #8692

Closed
1 of 2 tasks
schaabs opened this issue Nov 8, 2019 · 0 comments
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.

Comments

@schaabs
Copy link
Member

schaabs commented Nov 8, 2019

Credential classes which have parameters corresponding to environment variables in the below table should also allow them to be specified through the environment rather than requiring them to be passed through code during construction.

Environment Variable Purpose
AZURE_USERNAME Azure username for U/P Auth
AZURE_PASSWORD Azure password for U/P Auth
AZURE_CLIENT_CERTIFICATE_PATH Azure Active Directory
AZURE_CLIENT_ID Azure Active Directory
AZURE_CLIENT_SECRET Azure Active Directory
AZURE_TENANT_ID Azure Active Directory
AZURE_AUTHORITY_HOST Azure Active Directory

Classes:

  • ManagedIdentityCredential - AZURE_CLIENT_ID

  • TokenCredentialOptions - AZURE_AUTHORITY_HOST

@triage-new-issues triage-new-issues bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Nov 8, 2019
@schaabs schaabs self-assigned this Nov 8, 2019
@schaabs schaabs added Azure.Identity Client This issue points to a problem in the data-plane of the library. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Nov 8, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

No branches or pull requests

2 participants