← All permissions
Repository permission·agent_secrets:read
Agent secrets: Read
Tier 3 · Low
Why Tier 3
Lists agent secret names and the organization agent secrets shared with the repository. Values are never returned.
Data plane permissions start at Tier 2. This one is lowered 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
- Free, Team, Enterprise Cloud, EMU
What it unlocks
4 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- GET /repos/{owner}/{repo}/agents/organization-secrets
- GET /repos/{owner}/{repo}/agents/secrets
- GET /repos/{owner}/{repo}/agents/secrets/public-key
- GET /repos/{owner}/{repo}/agents/secrets/{secret_name}
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
- T0repodocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.