Secrets
API endpoints for secrets
Manage secrets: named credentials that workflows can reference. A secret’s value can be set and rotated but is never returned by the API.
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.
Was this page helpful?
{
"created_at": "2021-08-17T13:28:57.801578Z",
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "PagerDuty webhook token",
"owning_team_ids": [
"01G0J1EXE7AXZ2C93K61WBPYEH"
],
"updated_at": "2021-08-17T13:28:57.801578Z",
"version": 3,
"description": "Auth token for the PagerDuty outgoing webhook",
"last_four_chars": "c123"
}