cURL
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" }
Create a new container registry auth.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A user-defined name for a container registry authentication. The name must be unique.
"my creds"
The password for the container registry.
"my-password"
The username for the container registry.
"my-username"
Successful operation.
A unique string identifying a container registry authentication.
"clzdaifot0001l90809257ynb"
Was this page helpful?