Skip to main content
GET
Get Workspace Secrets

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Workspace id

Query Parameters

apiVersion
enum<string>

With secureSecrets, works on the encrypted secrets of the workspace (scope: workspace) instead of its secrets: a page of their names and dates, sorted by name, never their values. Owners only.

Available options:
secureSecrets
prefix
string

With apiVersion=secureSecrets: only the names starting with this literal prefix

Maximum string length: 255
includeApps
boolean

With apiVersion=secureSecrets: also the secrets of the installed apps, named app:…. They are left out otherwise, unless prefix itself starts with app:.

page
integer

With apiVersion=secureSecrets: page number, from 0

Required range: 0 <= x <= 100000
limit
integer

With apiVersion=secureSecrets: page size, 50 by default

Required range: 1 <= x <= 500

Response

The secrets of the workspace, or with apiVersion=secureSecrets, a page of its encrypted secrets. Names reserved for the platform (prismeai_) are never listed, nor expired secrets.

{key}
object