Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json
name
string
required
Required string length: 1 - 255
domain
string
required

Exact DNS hostname allowed to receive this secret over HTTPS (port 443), without scheme, port, path, or wildcards.

Required string length: 1 - 253
value
string
required

Write-only secret value encrypted at rest and never returned by read endpoints.

Required string length: 1 - 8192
description
string | null
Maximum string length: 2000
expires_at
string<date-time> | null

Response

201 - application/json

OK

id
string
required
object
any
required
name
string
required
domain
string
required
description
string | null
required
value_preview
string | null
required

Masked preview of the stored secret value; null only after data-subject anonymization.

expires_at
string<date-time> | null
required
last_used_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required