← 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
Techniques it enables
- Run PR code in a privileged workflow Steal CI secrets and tokens
Reached through
- Change a workflow, get its secrets · from Workflows: Write
- Create a deployment that starts the deploy workflow · from Deployments: Write
- Sign provenance for your own artifact · from Workflows: Write