Secrets

A secret, such as a GitHub token, that the VMs use but cannot read. Each VM gets the variable NAME=shako-secret-NAME, and Shako puts the value in its place in the requests to the secret's hosts.

Endpoints

MethodPathReturns
GET/v1/tenants/{tenant}/secrets200 with {"data": [...]}: a list of the secret object.
PUT/v1/tenants/{tenant}/secrets/{name}200 with the secret object.
DELETE/v1/tenants/{tenant}/secrets/{name}200 with the names of the path and "deleted": true.

Objects