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

Add EnvVar AZURE_AUTHORITY_HOST #8074

Merged
merged 11 commits into from
Apr 6, 2020
Merged

Conversation

Luyunmt
Copy link

@Luyunmt Luyunmt commented Mar 26, 2020

Added EnvVar AZURE_AUTHORITY_HOST to azure.identity._constants.
TokenCredentialOptions has an AuthorityHost property.
This will be modified to support EnvVar override with AZURE_AUTHORITY_HOST.
Azure/azure-sdk-for-java/issues/5967

@azuresdkci
Copy link

Can one of the admins verify this patch?

@Luyunmt Luyunmt marked this pull request as ready for review March 26, 2020 09:07
@tzhanl tzhanl requested a review from jongio March 27, 2020 00:52
@jongio
Copy link
Member

jongio commented Mar 27, 2020

Can you please add tests?

@jongio jongio requested a review from catalinaperalta March 27, 2020 23:30
@jongio
Copy link
Member

jongio commented Apr 3, 2020

@jhendrixMSFT @catalinaperalta - Tests added. Can you please re-review? We would like to get this in the initial Go release to be consistent with other langs. Thanks, Jon

Copy link
Member

@catalinaperalta catalinaperalta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@catalinaperalta catalinaperalta merged commit b1466cf into Azure:track2 Apr 6, 2020
catalinaperalta pushed a commit that referenced this pull request Jun 27, 2020
* add env authorityhost

* add AuthorityHost tests

* Unset env variable after AuthorityTest to avoid other tests fail

* add default AuthorityHost test

Co-authored-by: wantedfast <[email protected]>
Co-authored-by: Geralt Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants