Hanzo
OpenapiIam

Signs a container client in to your registry. — GET /v1/iam/registry/token

Signs a container client in to your registry.

GET /v1/iam/registry/token

Addresshttps://api.hanzo.ai/v1/iam/registry/token
MethodGET
Operationget_iam_registry_token
AuthAuthorization: Bearer $HANZO_API_KEY

Signs a container client in to your registry. docker login, and every build tool that pushes or pulls images, lands here: it exchanges the credential for a short-lived token scoped to exactly the repositories that credential may touch.

Both of the shapes container tooling uses are accepted, so the same login works whichever client your pipeline runs.

Request

GET /v1/iam/registry/token takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo iam registry token get

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page