Create Vault Entry
Create a Vault entry. Set kind to secret for a write-once credential whose value is never read back, or variable for a value readable by authorized callers. The name must be unique within the organisation; a duplicate name returns 409. Records the caller as the creator.
Authorizations
Your SLNG consumer API key.
Body
The name, kind, value, and optional description of the Vault entry to create.
Request body for creating a Vault entry. Supply the name, the kind (secret or variable), the value to store, and an optional description.
SCREAMING_SNAKE_CASE, unique per org
Whether this entry is a secret (write-only; its value is never returned) or a variable (its value is readable by authorized callers).
secret, variable The secret or variable value to store. Write-only: it is never returned in responses.
1 - 10000Optional human-readable description of this resource.
500Response
The created Vault entry. 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).
Kind of this entry: secret values are never returned, variable values are readable by authorized callers.
secret, variable The stored value, returned only for variables to authorized readers. Always null for secrets, whose value is never returned.
Whether a value is stored. True even for secrets, whose value is withheld from responses.
Whether this entry is managed by SLNG rather than created directly by your organisation.