Skip to content

[App Config] az appconfig: Fix MSI auth for --auth-mode login parameter#30983

Merged
yanzhudd merged 6 commits intoAzure:devfrom
albertofori:msiFix
Mar 23, 2025
Merged

[App Config] az appconfig: Fix MSI auth for --auth-mode login parameter#30983
yanzhudd merged 6 commits intoAzure:devfrom
albertofori:msiFix

Conversation

@albertofori
Copy link
Copy Markdown
Contributor

@albertofori albertofori commented Mar 7, 2025

Related command

az appconfig --auth-mode login

Description

Related to issue #30945
This change ensures that MSI auth works as expected.
Change was tested on azure VM to ensure authentication succeeds.
Since MI testing is not possible to on local dev devices, mocks were used to enable locally testing the code paths that result in MSIAuthenticationWrapper being returned as the credential used for authentication, and was tested to ensure the expected method was called with the right scopes.

Testing Guide

History Notes

[App Config] az appconfig: Fix MSI auth for --auth-mode login parameter


This checklist is used to make sure that common guidelines for a pull request are followed.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants