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 msi source detect logic #4761

Merged
merged 9 commits into from
May 21, 2024
Merged

Conversation

neha-bhargava
Copy link
Contributor

Fixes #4751

Changes proposed in this request
Expose an API to get and return current environment for managed identity

Testing
Added unit tests

Performance impact

Documentation

  • All relevant documentation is updated.

@neha-bhargava neha-bhargava requested a review from a team as a code owner May 13, 2024 18:44
@bgavrilMS
Copy link
Member

@Robbie-Microsoft @Avery-Dunn @rayluo - pls make sure you review this.

Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

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

Approved with comments,.

Copy link
Contributor

@gladjohn gladjohn left a comment

Choose a reason for hiding this comment

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

Approved. Please cache it so we do not check the source again, this will also be useful for SLC

Copy link
Contributor

@rayluo rayluo left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the effort!

@neha-bhargava neha-bhargava merged commit 51638a1 into main May 21, 2024
6 checks passed
@neha-bhargava neha-bhargava deleted the nebharg/FacilitateImdsProbing branch May 21, 2024 19:56
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.

[Engineering task] Need an API for Managed Identity to detect the current environment
4 participants