Saltar al contenido principal
PUT
Store a secret (write-only)

Autorizaciones

Authorization
string
header
requerido

Send your Cufea API key as Authorization: Bearer <key>.

Parámetros de ruta

kind
enum<string>
requerido

Kind of secret to store.

Opciones disponibles:
software_pin,
technical_key,
cert_pem,
cert_key,
key_password

Parámetros de consulta

environment
enum<string> | null

Stage to read or write; default: the stage of this API key. A key reads only its own stage. It writes only its own stage too, with one exception: a test key may write (never read) the production secrets and ranges the promotion needs. A sandbox key writes no configuration: the sandbox stage is Cufea's.

Opciones disponibles:
sandbox,
test,
production

Cuerpo

application/json
value
string
requerido

The secret. Write-only: it is never returned by any endpoint.

Required string length: 1 - 65536

Respuesta

Successful Response

kind
string
requerido

The kind that was stored.

stored
boolean
predeterminado:true