Skip to main content
POST
Create a Secret

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Body

application/json

Request body containing the secret data

name
string
required

The name of the secret.

Example:

"API_KEY"

value
string
required

The secret value to store.

Example:

"super-secret-value"

description
string

An optional description of the secret.

Example:

"Production API key"

tags
string[]

Optional tags to categorize the secret.

Example:

Response

Secret created successfully

success
boolean
Example:

true

message
string
Example:

"success"

data
object