GitLab Container Registry · Authentication Profile

Gitlab Container Registry Authentication

Authentication

GitLab Container Registry secures its APIs with apiKey and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

Container ImagesContainersGitLabRegistry
Methods: apiKey, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in: header

Security Schemes

PrivateToken apiKey
· in: header (PRIVATE-TOKEN)
OAuth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/gitlab-container-registry-openapi.yml
summary:
  types:
  - apiKey
  - oauth2
  api_key_in:
  - header
  oauth2_flows:
  - authorizationCode
schemes:
- name: PrivateToken
  type: apiKey
  in: header
  parameter: PRIVATE-TOKEN
  sources:
  - openapi/gitlab-container-registry-openapi.yml
- name: OAuth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://gitlab.com/oauth/authorize
    tokenUrl: https://gitlab.com/oauth/token
    scopes: 1
  sources:
  - openapi/gitlab-container-registry-openapi.yml