-
Notifications
You must be signed in to change notification settings - Fork 5k
[Identity] Add BrokerCredential as part of the dev credentials #51944
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
[Identity] Add BrokerCredential as part of the dev credentials #51944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds BrokerCredential
to the development credentials chain when AZURE_TOKEN_CREDENTIALS
is set to dev
. The fix addresses a bug where BrokerCredential
was only available in the default credential chain but not when specifically using development credentials.
Key changes:
- Modifies the dev credentials creation to use a mutable list instead of an array literal
- Adds conditional logic to include
BrokerCredential
in both dev and default credential chains
Co-authored-by: Scott Addie <[email protected]>
…s://github.com/JonathanCrd/azure-sdk-for-net into identity-bug-brokercredential-as-devcredential
This reverts commit befec4a.
…credential-as-devcredential
/check-enforcer evaluate |
Fixes #51886
This PR fixes a bug in which
BrokerCredential
was not added whenAZURE_TOKEN_CREDENTIALS
is set todev