Saltar al contenido principal
POST
CSharp (SDK)

Autorizaciones

Authorization
string
header
requerido

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.

Encabezados

X-On-Behalf-Of
string

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

Cuerpo

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

Nombre de host DNS exacto permitido para recibir este secreto a través de HTTPS (puerto 443), sin esquema, puerto, ruta ni comodines.

Required string length: 1 - 253
value
string
requerido

Valor secreto de solo escritura cifrado en reposo y nunca devuelto por los endpoints de lectura.

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

Respuesta

201 - application/json

Está bien

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

Vista previa enmascarada del valor secreto almacenado; nulo solo después de la anonimización del interesado.

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