quarkus-vault
quarkus-vault copied to clipboard
Add support for `destroy` in Key-Value Engine
Hi team,
I am trying to completely remove a key-value pair from Vault, including removing the path. The delete method on the KVEngine only deactivates the secret, as far as I understood it.
I suppose the destroy method would allow us to completely remove a secret from Vault. Is support for this method planned? I'd help out, but I would need some pointers on where to do this.
Kind regards!
I am not sure what you mean "deactivates" a secret. A secret is store at a "path". Deleting a secret is akin to deleting its path.
Sorry, I forgot that deleted KV secrets can be undeleted for a period of time before they are fully removed completely.
yes there is a destroy operation (kv v2). do you want to try out creating a PR @ps-burgstaller ?
I'm gonna take a look at it. 👍