POST
/
api
/
vault
/
get-secrets
curl --request POST \
  --url http://localhost:3000/api/vault/get-secrets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: text/plain' \
  --data '{
  "key": "OPENAI_API_KEY",
  "tags": [
    "openai"
  ]
}'
{
  "err": {},
  "res": {
    "OPEN_API_KEY": "OPEN_API_VALUE"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

text/plain
key
string
tags
string[]

Response

200 - application/json
Successfully retrieved secret(s).
err
object | null
res
object