Skip to main content
PUT
Create or update a registry credential

Authorizations

Authorization
string
header
required

Personal access token (msb_pat_…) or session JWT - the credential an agent acts with on a user's behalf.

Path Parameters

slug
string
required

Organization slug

Body

application/json

PUT /v1/orgs/{slug}/registries

password
string
required

Password or access token. Stored in OpenBao - never persisted to the DB.

registry_host
string
required

Registry host, e.g. ghcr.io or localhost:5000. Canonicalized server-side; Docker Hub aliases fold to docker.io.

username
string
required

Registry username.

Response

Credential created or updated

Registry credential metadata. Secret values are never returned.

created_at
string<date-time>
required
id
string<uuid>
required
registry_host
string
required
updated_at
string<date-time>
required
username
string
required