ghtier
← All permissions
Repository permission·id_token:write

OIDC ID token: Write

Tier 1 · High

Why Tier 1

Lets the job request an OIDC token. The token grants nothing on GitHub; a cloud role whose trust policy accepts it hands out credentials. What the job gets is that role's permissions, and which jobs get it depends on how closely the policy matches the subject and audience.

Data plane permissions start at Tier 2. This one is raised for the reason above.

Target
Repository
Plane
DataSecrets: Actions, environment, Dependabot, Codespaces and agent secrets, private registries and OIDC.
Granted by
GITHUB_TOKEN
Available on
Every setup
In a workflow
permissions: id-token: writeWorkflow scopes by tier

Roles that include it

No built-in role includes it. Only tokens, Apps or custom roles can grant it.

Classic scopes that reach it

No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.

Attack paths

GitHub Docs: Repository permissions for "OIDC ID token"