Skip to content

Conversation

JonathanCrd
Copy link
Member

Fixes #51886

This PR fixes a bug in which BrokerCredential was not added when AZURE_TOKEN_CREDENTIALS is set to dev

Copy link
Contributor

@Copilot Copilot AI left a 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

@github-project-automation github-project-automation bot moved this from Untriaged to In Progress in Azure Identity SDK Improvements Aug 20, 2025
@JonathanCrd JonathanCrd enabled auto-merge (squash) August 20, 2025 23:50
@JonathanCrd
Copy link
Member Author

/check-enforcer evaluate

@JonathanCrd JonathanCrd merged commit 0b97625 into Azure:main Aug 20, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Azure Identity SDK Improvements Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

[Identity] Consistency item: Include BrokerCredential when AZURE_TOKEN_CREDENTIALS=dev
3 participants