Cluster API Secrets
Cluster API documentation for secrets
Secrets
- GET /secrets/list
Get the secrets keys
- Response JSON Object:
keys[] (string) – The list of secret keys.
Example response:
{ "keys": [ "command", "disco" ] }
- GET /secrets/secret/{ID}
Get a secret
- Parameters:
ID – The secret id
- Response JSON Object:
[key] (string) – The secret.
Example response:
{ "GENVID_COMMAND_SECRET": "commandsecret", "akey": "avalue" }
- POST /secrets/secret/{ID}
Set a secret
- Parameters:
ID – The secret id
- Request JSON Object:
[key] (string) – The secret.
Example query:
{ "GENVID_COMMAND_SECRET": "commandsecret", "akey": "avalue" }
- DELETE /secrets/secret/{ID}
Delete a secret
- Parameters:
ID – The secret id