Create a secret.

Creates a secret with its scope mappings.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the organization.

Body Params

Secret is the metadata of a stored secret. The value is never present on
output.

string

Human-readable display name (not unique).

string

Host pattern the secret applies to: an exact lowercase hostname
(api.example.com) or a subdomain wildcard (*.example.com).

injection
object
required

How the value is injected into matching requests.

string

The secret value. INPUT_ONLY: accepted on create/update, never returned.
Empty means "unchanged" on update; the create path requires a value.

mappings
array of objects

Scopes this secret is mapped to.

mappings
Responses

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