List secrets

GET

List secrets available to the organization, available to a given workspace, or with a given alias.

Only organization admins can list all secrets in the organization. Non-admins must specify a workspace.

Headers

IB-ContextstringOptional

Specify whether to use your community account or organization account to complete the request. To use your community account, define as your user ID. To use your organization account, define as your organization ID. If unspecified, defaults to community account context. See Authorization and context identification for details.

Query parameters

workspacestringOptional

Show secrets available in the specified workspace.

Only members of a workspace can access secrets that are available within that workspace.
aliasstringOptional

Get the secret with the specified alias.

Response

A list of secrets.

secretslist of objectsOptional