List secrets
<span class="badge">Commercial & Enterprise</span>
List secrets available to the organization, available to a given workspace, or with a given alias.
<Note>Only organization admins can list all secrets in the organization. Non-admins must specify a workspace.</Note>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Headers
IB-Context
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](/api-sdk/authorization#ib-context-header) for details.
Query parameters
workspace
Show secrets available in the specified workspace.
<Info>Only members of a workspace can access secrets that are available within that workspace.</Info>
alias
Get the secret with the specified alias.
Response
A list of secrets.
secrets