cURL
curl --request PATCH \ --url https://api.gcore.com/cloud/v1/caas/secrets/{project_id}/{region_id}/{secret_name} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "login": "login", "password": "password", "registry": "some.registry.com" } '
{ "login": "<string>", "name": "<string>", "registry": "<string>", "updated_at": "<string>" }
Update the configuration of an existing pull secret.
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 name
Pull secret login
1 - 100
"login"
Pull secret password
1 - 5000
"password"
Pull secret registry
1 - 400
"some.registry.com"
Pull secret
Pull secret updated at
Was this page helpful?