Secrets

List secrets

The secrets in one scope: the account-wide ones by default, or one workspace’s with workspace_id. Names, ids and revisions only — no route ever returns a value.

Owners and members may read; viewers cannot, not even the names. An API key confined to a workspace lists that workspace’s secrets, and naming any other scope is a 403. From an account-wide key, a workspace_id that names no workspace of this account (an empty one included) is a 400, No such workspace on this account.

Requires the member role or higher.

get/secrets

Request

  • Base URL: https://app.mandala.computer/api/v1
  • URL: https://app.mandala.computer/api/v1/secrets
  • Auth: HTTP bearer

Query parameters

workspace_idstring

The workspace to list. Leave it out for the account-wide secrets.

Response

The secrets in that scope, and the limits.

deliveryboolean required

Whether a secret can be bound to a computer and delivered into it on this platform. While false, secrets can be stored but a binding is refused.

Changes

No recorded changes to this operation across all 1 revision of this API.