Skip to content

Commit

Permalink
Fix MSI auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
albertofori committed Mar 7, 2025
1 parent 939778e commit f4386ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def get_appconfig_data_client(cmd, name, connection_string, auth_mode, endpoint)
token_audience = current_cloud.endpoints.appconfig_auth_token_audience

try:
azconfig_client = AzureAppConfigurationClient(credential=AppConfigurationCliCredential(cred._credential, token_audience), # pylint: disable=protected-access
azconfig_client = AzureAppConfigurationClient(credential=AppConfigurationCliCredential(cred, token_audience), # pylint: disable=protected-access
base_url=endpoint,
user_agent=HttpHeaders.USER_AGENT)
except (ValueError, TypeError) as ex:
Expand Down

0 comments on commit f4386ac

Please sign in to comment.