Skip to main content
PATCH
Rotate Vault Entry

Authorizations

Authorization
string
header
required

Your SLNG consumer API key.

Path Parameters

name
string
required

Unique name of the Vault entry whose stored value you are replacing.

Body

application/json

The replacement value to store for the entry.

Overwrite the stored value (both kinds).

value
string
required
write-only

Replacement value to store for the entry. It is write-only and never returned in responses.

Required string length: 1 - 10000

Response

The rotated Vault entry with its bumped revision. Secret values are masked in the response.

List and detail view of a Vault entry. Secret values are never returned; variable values are returned to authorized readers in value (null for secrets).

id
string<uuid>
required
organisation_id
string<uuid>
required
name
string
required
kind
enum<string>
required

Kind of this entry: secret values are never returned, variable values are readable by authorized callers.

Available options:
secret,
variable
revision
integer
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
value
string | null

The stored value, returned only for variables to authorized readers. Always null for secrets, whose value is never returned.

has_value
boolean
default:true

Whether a value is stored. True even for secrets, whose value is withheld from responses.

is_managed
boolean
default:false

Whether this entry is managed by SLNG rather than created directly by your organisation.

created_by
string | null
last_rotated_by
string | null
last_rotated_at
string<date-time> | null