registry-credentials

PUT /v1/orgs/:slug/registries — create or update a credential for a host (Admin+).

Writes the secret material to the store first, then records the metadata pointer, so the DB never references a secret that failed to land.

put/v1/orgs/{slug}/registries

Path parameters

slugstring required

Organization slug

Request body

passwordstring required

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

registry_hoststring required

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

usernamestring required

Registry username.

Response

Credential created or updated

created_atstring date-time required
idstring uuid required
registry_hoststring required
updated_atstring date-time required
usernamestring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.