Keys & Policies
Credentials with no scopes, the settings that decide what everything else may do, and access given outside roles.
- Keys (SSH keys, deploy keys, App private keys) carry no scopes. They take the tier of what they act as: an SSH key can do whatever its user can push.
- Policies grant nothing themselves. Their tier is what changing the setting allows, so switching off SSO enforcement ranks above editing the IP allow list.
- Grants are access handed out outside roles: ruleset bypass lists, environment reviewers, code owners and outside collaborators. They are easy to miss in an access review.
- Outside GitHub are the systems that decide access to GitHub, or that trust it: the identity provider's GitHub app and cloud OIDC trust policies.
- None of these can be worked out from a permission list, so each one states its tier and the reason. The related permissions are the ones that change it or that it acts as.
Setup
Your plan or deployment. Picking one hides the keys and policies it does not have, on every tab and on your next visit.
- Free
- Free organizations and personal accounts. Several protections only work on public repositories.
- Team
- Paid organizations without an enterprise account. Branch protection, rulesets and environments work on private repositories too.
- Enterprise Cloud
- Organizations in an enterprise account, with personal accounts that members bring themselves.
- EMU
- Enterprise Cloud where the identity provider creates and controls every account.
- Server
- GitHub run on your own infrastructure. Some cloud features, such as Copilot and Codespaces, are missing.
Kind
What sort of entry it is.
- key
- A credential with no scopes.
- policy
- A setting that decides what everything else may do.
- grant
- Access given outside roles, like a bypass list.
- agent
- An AI agent acting in a repository.
- external
- A system outside GitHub that decides access to it or that it trusts.
Scope
Where it applies: one repository, an organization, the enterprise, a user or an App.
Plane
Where the key or policy can change something, from the permissions that set its tier.
- control
- Identity and administration: who is a member, who is an owner, and which roles exist.
- management
- Settings and pipelines: policies, protections, tokens, App installs, runners and webhooks.
- data
- The workload: code, workflow runs, secrets, alerts, releases and day-to-day collaboration.
44 entries
Setup
Kind
Scope
Plane
The key, setting or grant. | What sort of entry it is.
| Where it applies: one repository, an organization, the enterprise, a user or an App. | Keys take the tier of what they act as; policies the tier of what changing them allows.T0: Control-plane equivalent. Full compromise of an org, enterprise, or app identity, or of every repository in it.T1: Management/pipeline plane. Control over deployments, CI/CD, or secrets.T2: User/workload plane. Real but bounded risk: standard collaboration, or stopping work by cutting spend or licenses.T3: No control. Reading, or changes that touch no access, code, credentials or availability. Reading can still expose private code or data.* context-dependent: what it is attached to decides the real tier. | Where the key or policy can change something, from the permissions that set its tier.
| |
|---|---|---|---|---|---|
| Base permission: Write or Admin on every repository | policy | organization | T0* | control | ↗▼ |
| Enterprise Managed Users provisioning (SCIM) | policy | enterprise | T0 | control | ↗▼ |
| Enterprise Managed Users setup user | key | enterprise | T0 | control | ↗▼ |
| Enterprise SAML SSO enforcement | policy | enterprise | T0 | control | ↗▼ |
| GitHub App private key (.pem) | key | app | T0* | control | ↗▼ |
| Identity provider admin for the GitHub app | external | enterprise | T0 | control | ↗▼ |
| Management Console access (Enterprise Server) | key | enterprise | T0 | control | ↗▼ |
| Organization SAML SSO enforcement | policy | organization | T0 | control | ↗▼ |
| SSH certificate authority private key | key | organization | T0 | control | ↗▼ |
| SSO recovery codes | key | enterprise | T0 | control | ↗▼ |
| Web session cookie | key | user | T0* | control | ↗▼ |
| Account without 2FA | policy | user | T1* | control | ↗▼ |
| Allow GitHub Actions to create and approve pull requests | policy | organization | T1 | management | ↗▼ |
| Audit log streaming | policy | enterprise | T1 | management | ↗▼ |
| Cloud OIDC trust policy for GitHub Actions | external | repository | T1* | management | ↗▼ |
| Deploy key with write access | key | repository | T1 | data | ↗▼ |
| Enterprise 2FA requirement | policy | enterprise | T1 | management | ↗▼ |
| Environment protection rules | policy | repository | T1 | management | ↗▼ |
| IP allow list | policy | enterprise | T1 | management | ↗▼ |
| MCP server configuration for Copilot | policy | repository | T1* | management | ↗▼ |
| Member privileges: visibility changes, deletion and private forks | policy | organization | T1 | management | ↗▼ |
| OAuth app access restrictions | policy | organization | T1 | management | ↗▼ |
| Organization Actions policy | policy | organization | T1 | management | ↗▼ |
| Organization creation and deletion policy | policy | enterprise | T1 | management | ↗▼ |
| Outside collaborator | grant | repository | T1* | management | ↗▼ |
| Personal access token policy | policy | organization | T1 | management | ↗▼ |
| Ruleset bypass actor | grant | repository | T1 | management | ↗▼ |
| Runner registration token or JIT configuration | key | organization | T1 | management | ↗▼ |
| SSH key on a user account | key | user | T1* | data | ↗▼ |
| Who can invite outside collaborators | policy | organization | T1 | management | ↗▼ |
| Workflow dependency lockfile (actions.lock) | policy | repository | T1 | management | ↗▼ |
| Workflow execution protections | policy | organization | T1 | management | ↗▼ |
| Agents secrets and variables | key | repository | T2* | data | ↗▼ |
| App access requests and installations | policy | organization | T2 | data | ↗▼ |
| Code owner (CODEOWNERS entry) | grant | repository | T2* | data | ↗▼ |
| Codespaces token | key | repository | T2* | data | ↗▼ |
| Copilot cloud agent and other AI agents | agent | repository | T2* | data | ↗▼ |
| Copilot cloud agent firewall | policy | organization | T2* | data | ↗▼ |
| Environment required reviewer | grant | repository | T2* | data | ↗▼ |
| GitHub App or OAuth App client secret | key | app | T2* | data | ↗▼ |
| GPG key for commit signing | key | user | T2 | data | ↗▼ |
| SSH key for commit signing | key | user | T2 | data | ↗▼ |
| Webhook secret | key | app | T2* | data | ↗▼ |
| Token for the built-in GitHub MCP server | key | repository | T3* | data | ↗▼ |