Skip to main content
POST
Set registry auth

Path Parameters

id
string
required

Registry slug identifying the registry.

Minimum string length: 1

Body

application/json

Credentials used when the server talks to the registry. The token endpoint (oauth2) and header name (apiKey) always come from the registry's well-known advertisement, never from this request.

type
enum<string>
required

API key authentication; the key is sent in a fixed header.

Available options:
apiKey
apiKey
string
required

API key sent in the header named by the registry's well-known auth advertisement.

Minimum string length: 1

Response

The credentials were stored.

Response body of a registry auth setup request.

auth
object
required

Outcome of storing credentials for a registry.

Last modified on August 25, 2026