Skip to main content
POST
Store a write-only organization secret

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Body

application/json
name
string
required
Required string length: 1 - 64
secretType
enum<string>
required
Available options:
mcp_header,
http_header,
ssh_key,
cli_env
secretValue
string
required
Required string length: 4 - 16384
description
string | null
Maximum string length: 280
executionBoundary
enum<string>
Available options:
cloud_only,
desktop_allowed
targetConnectionId
string<typeid>

Den TypeID with 'emc_' prefix and a 26-character base32 suffix.

Required string length: 30
targetHost
string
Maximum string length: 255
targetCommand
string
Maximum string length: 128
headerName
string
Maximum string length: 128
headerPrefix
string
Maximum string length: 64
envName
string
Maximum string length: 64
allowBlindUse
object
defaultRule
enum<string>
Available options:
allow,
ask,
block

Response

Created secret metadata.

secret
object
required
blindUse
object
required
rules
object[]
required