Skip to content

Instantly share code, notes, and snippets.

@KarishmaGhiya
Last active November 5, 2025 23:18
Show Gist options
  • Select an option

  • Save KarishmaGhiya/c6b8d4ef74957e7af8fb259c7babc21f to your computer and use it in GitHub Desktop.

Select an option

Save KarishmaGhiya/c6b8d4ef74957e7af8fb259c7babc21f to your computer and use it in GitHub Desktop.
Github Actions Credential Design Spec
Requirement:
Federated Identity Credential
Custom actions can request the OIDC token using:
The getIDToken() method from the Actions toolkit. For more information, see OIDC Token in the npm package documentation.
The following environment variables on the runner.
Variable Description
ACTIONS_ID_TOKEN_REQUEST_URL The URL for GitHub's OIDC provider.
ACTIONS_ID_TOKEN_REQUEST_TOKEN Bearer token for the request to the OIDC provider.
Users:
Azure Cli, Azure PowerShell and Azure Developer CLI teams will be using this credential in their code base for Github Actions FIC.
The number of OIDC logins in Azure PowerShell from GitHub Actions for recent 3 months - 558,874
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment