Skip to main content
POST
Create a Vault Secret

Authorizations

Authorization
string
header
required

A Deepest Account-scoped Agent API Key issued by the signed-in owner. Never put the key in a URL or Guest environment.

Body

application/json
name
string
required
Required string length: 1 - 96
env_name
string
required
Maximum string length: 96
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
allowed_hosts
string[]
required

Exact DNS hostnames. No wildcard, IP, port or URL.

Required array length: 1 - 12 elements
value
string
required
write-only

Printable ASCII, up to 4096 bytes. Enter only in create or rotate.

Required string length: 1 - 4096

Response

Create a Vault Secret

ok
enum<boolean>
required
Available options:
true
resource_id
string
required
retry
enum<string>
required
Available options:
no-retry
result
object
required