POST
/
containerregistryauth
Create a new container registry auth
curl --request POST \
  --url https://rest.runpod.io/v1/containerregistryauth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "my creds",
  "password": "my-password",
  "username": "my-username"
}'
{
  "id": "clzdaifot0001l90809257ynb",
  "name": "my creds"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a new container registry auth.

name
string
required

A user-defined name for a container registry authentication. The name must be unique.

Example:

"my creds"

password
string
required

The password for the container registry.

Example:

"my-password"

username
string
required

The username for the container registry.

Example:

"my-username"

Response

Successful operation.

id
string

A unique string identifying a container registry authentication.

Example:

"clzdaifot0001l90809257ynb"

name
string

A user-defined name for a container registry authentication. The name must be unique.

Example:

"my creds"