Skip to main content
POST
Create a container registry credential

Authorizations

Authorization
string
header
required

Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.

Body

application/json
name
string
required
Minimum string length: 1
Example:

"my-private-registry"

username
string
required

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

Minimum string length: 1
password
string
required

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

Minimum string length: 1

Response

Created

id
string
required
Example:

"reg_abc"

name
string
required
Example:

"my-private-registry"