Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Conversation

@bicisteadm
Copy link

This pull request introduces the GetResourceIDFromCloudsConfig function, allowing the endpoint_active_directory_resource_id to be retrieved from the clouds.config file (~/.azure/clouds.config). If present, this value is used to set the TokenAudience in the Azure environment during client initialization.

Motivation:
This resolves issues where applications in Entra ID (Azure AD) may not always have the correct Application ID URI configured. By reading the TokenAudience from clouds.config, the provider can dynamically adapt to such configurations without requiring manual intervention.

The implementation is backward-compatible, defaulting to existing behavior if the file or key is not available.

@bicisteadm bicisteadm requested review from a team and katbyte as code owners November 21, 2024 17:54
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Nov 21, 2024

CLA assistant check
All committers have signed the CLA.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant