GitHub Actions · Authentication Profile

Github Actions Authentication

Authentication

GitHub Actions secures its APIs with http across 2 declared security schemes, as derived from its OpenAPI definitions.

Methods: http Schemes: 2 OAuth flows: API key in:

Security Schemes

bearerAuth http
scheme: bearer
personalAccessToken http
scheme: bearer

Source

Authentication Profile

Raw ↑
generated: '2026-06-20'
method: searched
source: https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api
docs: https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api
summary:
  types:
  - http
  http_schemes:
  - bearer
  token_types:
  - fine-grained-pat
  - classic-pat
  - oauth-user-token
  - github-app-installation-token
  - github-actions-job-token
schemes:
- name: bearerAuth
  type: http
  scheme: bearer
  description: >-
    Authorization: Bearer <token>. Accepts a fine-grained or classic personal
    access token, an OAuth user-to-server token, a GitHub App installation
    access token, or the automatic GITHUB_TOKEN inside a workflow run.
  sources:
  - openapi/github-actions-openapi.yml
- name: personalAccessToken
  type: http
  scheme: bearer
  description: Fine-grained personal access token scoped with Actions permissions.
  sources:
  - openapi/github-actions-openapi.yml
notes:
  - Access is governed by classic OAuth scopes or fine-grained token/App permissions; see scopes/github-actions-scopes.yml.
  - Basic auth with username + PAT is deprecated; bearer-token auth is required.
  - GITHUB_TOKEN permissions inside a workflow are declared via the workflow `permissions:` block.

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/github-actions-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.