v1

latestOpenAPI 3.1.02026-07-2676123203.9 KB
Registries

Create a container registry credential

Stores credentials for a private container registry. Credentials are write-only.

post/v2/registries

Request body

namestring required
usernamestring required

Registry username (write-only, not returned in responses)

passwordstring required

Registry password (write-only, not returned in responses)

Example request

{
  "name": "my-private-registry"
}

Response

Created

idstring required
namestring required

Example response

{
  "id": "reg_abc",
  "name": "my-private-registry"
}