Skip to content

Support Workload Identity Federation#2297

Draft
mjcheetham wants to merge 2 commits intogit-ecosystem:mainfrom
mjcheetham:wif
Draft

Support Workload Identity Federation#2297
mjcheetham wants to merge 2 commits intogit-ecosystem:mainfrom
mjcheetham:wif

Conversation

@mjcheetham
Copy link
Contributor

@mjcheetham mjcheetham commented Mar 20, 2026

Add support for Workload Identity Federation (WIF) for Azure Repos. This enables users to authenticate to Azure Repos using federated tokens from Managed Identities, GitHub Actions, or generic identity providers.

We support three scenarios:

  1. Generic
    When you have a pre-obtained client assertion token from any external identity provider. You provide the assertion directly and GCM exchanges it for an access token.

  2. Entra ID Managed Identities
    When your workload runs on an Azure resource that has a Managed Identity assigned. GCM will first request a token from the Managed Identity for the configured audience, then exchange that token for an Azure DevOps access token.

  3. GitHub Actions
    When your workload runs in a GitHub Actions workflow. GCM will automatically obtain an OIDC token from the GitHub Actions runtime and exchange it for an Azure DevOps access token.

@mjcheetham mjcheetham added auth:microsoft Specific to Microsoft AAD/MSA authentication enhancement New feature or request labels Mar 20, 2026
darasok85az-lang

This comment was marked as spam.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auth:microsoft Specific to Microsoft AAD/MSA authentication enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants