Create or rotate a workflow secret

Stores a typed credential that the company's workflows can use by name (for example as an http_request@1 node's auth.secret). A new name is created at version 1 (201); an existing name is replaced by the next version (200), which the next batch of a workflow reads. The company-wide value and each workflow environment's own value of a name are separate values, each with its own version. The value goes in the request body only and is never returned, logged or quoted in an error: the answer is a reference. The caller needs the workflow_graph update ability on the company. A workflow version reads only the secret names its graph references.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[a-z][a-z0-9_]{0,63}$

A lowercase letter, then up to 63 of a-z, 0-9 and _.

Body Params
string

The company; default the caller's own company.

uuid

Writes that workflow environment's own value of the name; absent writes the company-wide value. An environment that is not one of the company's is a 400.

string
enum
required
Allowed:
value
object
required

The value for the type, at most 8 KiB of JSON, every member a non-empty string: api_key {value}; basic {username, password}; bearer {token}; oauth2_client_credentials {token_url, client_id, client_secret, scope?}; oauth2_password {token_url, client_id, client_secret?, username, password}. token_url is an absolute https URL. Unknown, duplicate and null members are refused.

Responses

400

The request was malformed or contained invalid parameters.

401

You are not authorized

403

You are forbidden from accessing this resource

413

The body is over the limit (the value's 8 KiB plus 4 KiB)

500

An unexpected error was encountered.

502

The secret store did not answer

503

The secret store is not configured in this environment

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json