cURL
curl --request POST \ --url https://api.gcore.com/cloud/v1/caas/secrets/{project_id}/{region_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "login": "<string>", "name": "<string>", "password": "<string>", "registry": "<string>" } '
{ "login": "<string>", "name": "<string>", "registry": "<string>", "updated_at": "<string>" }
Create a new pull secret for container image registry authentication.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project id
Region id
Pull secret login
1 - 100
Pull secret name
1 - 250
Pull secret password
1 - 5000
Pull secret registry
1 - 400
OK
Pull secret updated at
Was this page helpful?