← All permissions
Repository permission·secrets:write
Secrets: Write
Tier 1 · High
Why Tier 1
Creates and overwrites repository Actions secrets. Swapping a deploy credential redirects the pipeline that reads it.
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
- Fine-grained PAT, GitHub App
- Available on
- Every setup
What it unlocks
2 REST endpoints need this permission. A few of them:
- PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}
- DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}
Roles that include it
- T0OwnerThe organization and every repository in it
- T0All-repository adminEvery repository in the organization
- T1WriteOne repository
- T1MaintainOne repository
- T1AdminOne repository
- T1All-repository writeEvery repository in the organization
- T1All-repository maintainEvery repository in the organization
Classic scopes that reach it
- T0repodocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.