secrets

Configures settings for the KV store

post/secret/metadata/{path}

Request body

cas_requiredboolean

If true the key will require the cas parameter to be set on all write requests. If false, the backend’s configuration will be used.

custom_metadataobject

User-provided key-value pairs that are used to describe arbitrary and version-agnostic information about a secret.

delete_version_afterinteger

The length of time before a version is deleted. If not set, the backend's configured delete_version_after is used. Cannot be greater than the backend's delete_version_after. A zero duration clears the current setting. A negative duration will cause an error.

max_versionsinteger

The number of versions to keep. If not set, the backend’s configured max version is used.

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.