Oci Token

Exchange a fleet credential for a registry bearer token.

Docker sends Authorization: Basic base64(user:password) here, where the password is the caller's fleet token. The collector already authenticates Bearer tokens on every other route, so the "minted" token IS that fleet token echoed back — validated first, never issued blind.

That keeps identity intact: the follow-up /v2 requests carry a real fleet token, so require_read_or_emit resolves the actual producer rather than trusting a claimed username. No second token type, no HMAC, no key to rotate.

get/v2/token

Request

  • Base URL: https://api-docs.session-exchange.com (the document declares no server; this is the origin it was published from)
  • URL: https://api-docs.session-exchange.com/v2/token
  • Auth: none declared

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.