Migrating Federated Oidc Token Exchange

Migrates an endpoint that exchanges an external identity provider's workload token for a short-lived application credential — trusted publishing, workload identity federation, federated credentials, OIDC credential exchange. Use when the application accepts a JWT minted for a CI job or service principal by an external issuer, matches its claims against a stored trust policy the application owns, and mints its own API key or token in response. Triggers for "trusted publishing", "trusted publisher", "workload identity federation", "federated credential", "OIDC token exchange", "exchange an OIDC token for an API key", "trust policy", "short-lived API key", and "CI token exchange endpoint". This is a behavior-preserving migration: the exchange logic is application security code that must be moved intact, not redesigned. Not for securing an API with a fixed-authority bearer scheme where the inbound token is itself the credential — that is a scheme configuration and has its own migration path.

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit 832d236b7b

Frequently asked questions

npx get-skill add microsoft/migrating-federated-oidc-token-exchange