Skip to main content
GET
Get GitHub Container Registry token

Path Parameters

organizationId
string<uuid>
required

CybeDefend organization ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Registry token generated successfully

token
string
required

GitHub App installation token (use as password for docker login)

Example:

"<github-app-token>"

username
string
required

Username for docker login (always "x-access-token" for GitHub App tokens)

Example:

"x-access-token"

registryUrl
string
required

Container registry URL

Example:

"ghcr.io"

githubOwner
string
required

GitHub owner (user or organization)

Example:

"my-org"

expiresAt
string
required

Token expiration (ISO 8601), typically ~1 hour

Example:

"2025-01-16T15:30:00.000Z"