cURL
curl --request PUT \ --url https://api.gcore.com/fastedge/v1/secrets/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "comment": "<string>", "secret_slots": [ { "slot": 123, "value": "<string>" } ] } '
{ "name": "<string>", "comment": "<string>", "app_count": 123, "secret_slots": [ { "slot": 123, "checksum": "<string>" } ] }
Update a 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
Id of the secret
Secret details
The unique name of the secret.
A description or comment about the secret.
A list of secret slots associated with this secret.
Show child attributes
Ok
The number of applications that use this secret.
Was this page helpful?