Created
February 26, 2019 16:22
-
-
Save avoidik/b309b94468eb5e593adf76b0e2faf45b to your computer and use it in GitHub Desktop.
Vault patch secrets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# old cli - kv v1 | |
vault read -format json -field data secret/foo/bar | \ | |
jq '.baz = "qux"' | \ | |
vault write secret/foo/bar - | |
# new cli - kv v2 | |
vault kv patch ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment