Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for destroy in Key-Value Engine #77

Open
ps-burgstaller opened this issue Sep 15, 2022 · 4 comments
Open

Add support for destroy in Key-Value Engine #77

ps-burgstaller opened this issue Sep 15, 2022 · 4 comments

Comments

@ps-burgstaller
Copy link

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!

@kdubb
Copy link
Contributor

kdubb commented Sep 15, 2022

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.

@kdubb
Copy link
Contributor

kdubb commented Sep 15, 2022

Sorry, I forgot that deleted KV secrets can be undeleted for a period of time before they are fully removed completely.

@vsevel
Copy link
Contributor

vsevel commented Sep 15, 2022

yes there is a destroy operation (kv v2).
do you want to try out creating a PR @ps-burgstaller ?

@ps-burgstaller
Copy link
Author

I'm gonna take a look at it. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants