Secrets
Create a secret
Create a secret. The value is encrypted at rest and never returned — the response contains only the name. Reference it by name from a tool's auth.
post/secret
Request body
Example request
{
"name": "ORDER_API_TOKEN",
"value": "sk_live_xxxxxxxxxxxx"
}Response
Secret created (name only).
Example response
{
"status": true,
"data": {
"_id": "6a85323f98ca88de9272bb70",
"name": "ORDER_API_TOKEN"
}
}