v1

latestSwagger 2.02026-08-04232286653.5 KB
Ccr
Container Registry

Creates a limited-scope token for authenticating to the container registry and returns it.

post/ccr/tokens

Request body

aliasstring

Alias for the new token, used to identify it.

expires_atstring

Expiration timestamp of the token, in RFC3339 format.

Example request

{
  "alias": "my-token",
  "expires_at": "2026-12-03T19:58:34Z"
}

Response

tokenstring

Token used to authenticate to the container registry.