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.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Request
This endpoint expects an object.
name
Secret name (letters, numbers, and underscores). Referenced from a tool’s auth.
value
The secret value. Write-only — encrypted at rest and never returned.
Response
Secret created (name only).
status
data
A secret in the org Secrets vault. Write-only: the plaintext value is never
returned by the API. Referenced by name from a tool’s auth block; decrypted
and injected into the outbound request server-side at call time.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error

