Secrets
Read a secret
One secret’s name, scope and current revision_id — which a replace or delete needs — without its value. A secret in a workspace is found only with that workspace_id; for any other it is a 404, a workspace_id that names no workspace of this account included. An API key confined to a workspace that names any other scope is refused with 403 instead; an account-wide key gets the 404.
Requires the member role or higher.
get/secrets/{id}
Request
- Base URL: https://app.mandala.computer/api/v1
- URL: https://app.mandala.computer/api/v1/secrets/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The secret id.
Query parameters
workspace_idstring
The workspace the secret belongs to. Leave it out for an account-wide one.
Response
The secret, without its value.
Changes
No recorded changes to this operation across all 1 revision of this API.