Secrets
API endpoints for secrets
The secret object
A secret is a named credential that workflows can reference, for example an auth token for an outgoing webhook.
Its value can be set and rotated but never read back: the API stores it encrypted and only ever returns masked metadata (the last four characters of the current value). Update the value with the rotate action, which appends a new version and retires the previous one.
"2021-08-17T13:28:57.801578Z"
Unique identifier for this secret
"01FCNDV6P870EA6S7TK1DSYDG0"
Human-readable name, unique within the organisation amongst unarchived secrets
"PagerDuty webhook token"
IDs of the teams that own this secret. Empty means the secret is owned by the whole organisation.
"2021-08-17T13:28:57.801578Z"
The current version number, incremented on each rotation
3
Optional description of what this secret is for
"Auth token for the PagerDuty outgoing webhook"
The last four characters of the current value, for masked display. Absent when the value is four characters or shorter.
"c123"