vault icon indicating copy to clipboard operation
vault copied to clipboard

Feature Request: Lifetime for secret in KV v2

Open mjrlee opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. There are some secrets that I cannot have automatically generated, but do not want available in vault forever. Destroying them in vault would ensure that the end user must regenerate the secret at a certain date.

Describe the solution you'd like When creating a KV v2 secret version, I would like to specify a lifetime, after which the version is destroyed.

Describe alternatives you've considered Creating an external service that uses the API to poll for age and issue a delete.

mjrlee avatar Feb 07 '19 14:02 mjrlee

👍

bor-tso avatar Feb 20 '19 09:02 bor-tso

Does this feature satisfy the intent of this issue? https://www.vaultproject.io/api-docs/secret/kv/kv-v2#delete_version_after

kkredit avatar Jul 18 '22 20:07 kkredit

Hi folks, I'm closing this issue in light of the delete_version_after feature. Thanks!

HridoyRoy avatar Aug 29 '22 17:08 HridoyRoy