KV engine version 2 - Delete a single secret from a path containing other secrets #987
-
Hello all, in this path I have a couple of key-value secrets such as: myfoo : myfoosecrete I want to delete single secret such as myfoo from my_engine/developers/teststage/secrets/myfoo when i use the following:
it deletes the entire path although previous versions are available. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @CruzanCaramele , In Vault, a "secret" refers to the entire path, so it encompasses all of the key-value pairs within that path. To "delete" a single kv-pair is to write a new secret or secret version with all of the kv pairs intact except the one you want gone. |
Beta Was this translation helpful? Give feedback.
Hi @CruzanCaramele ,
In Vault, a "secret" refers to the entire path, so it encompasses all of the key-value pairs within that path. To "delete" a single kv-pair is to write a new secret or secret version with all of the kv pairs intact except the one you want gone.