Skip to main content
The Secrets API lets you list, read, update, and delete secrets stored in HashiCorp Vault. Secrets are scoped to the current environment (e.g., oss).

List Secrets

Returns a JSON array of secret names for the current environment.

Example

Response


Get Secret

Sensitive fields (password, apiKey, secretKey, token, secret) are always masked as ••••••••. Non-sensitive fields show their actual values.

Example

Response

Error

Returns 404 if the secret does not exist.

Update Secret

Create or update a secret.

Example

Response


Delete Secret

Example

Response