Skip to main content
POST
/
v1
/
secrets
Create a new secret
curl --request POST \
  --url http://localhost:3333/v1/secrets \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "value": "<string>",
  "description": "<string>",
  "category": "<string>"
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
name
string
required
value
string
required
description
string | null
category
string | null

Response

201 - undefined