Skip to content

Instantly share code, notes, and snippets.

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 inthecloud247/e4f3843f00d3e206501128db3049ba20 to your computer and use it in GitHub Desktop.
Save inthecloud247/e4f3843f00d3e206501128db3049ba20 to your computer and use it in GitHub Desktop.
Consul.io KV get value from bash
curl -s 10.0.0.145:8500/v1/kv/my_key/my_otehr_key/this_is_the_key?dc=dc1 | jq -r '.[0].Value' | base64 --decode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment