Skip to content

Instantly share code, notes, and snippets.

@avoidik
Created February 26, 2019 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avoidik/b309b94468eb5e593adf76b0e2faf45b to your computer and use it in GitHub Desktop.
Save avoidik/b309b94468eb5e593adf76b0e2faf45b to your computer and use it in GitHub Desktop.
Vault patch secrets
# 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