Skip to content

Consul and Vault GET/PUT Helper Scripts and Vault Client Upgraded

Compare
Choose a tag to compare
@tfhartmann tfhartmann released this 23 Jan 22:16
· 39 commits to master since this release
25e2251
  • Upgraded Vault to version 1.0.4
  • Adds a shared functions script so that the scripts can share common bash functions, like auth-to-consul
  • get-consul-kv - Get a plain test value out of Consul KV requires the Consul prefix (no leading slash) as the first Argument ex: get-consul-kv foo/bar
  • put-consul-kv- Put a plain text value into the Consul KV requires the Consul path (no leading slash) as the first Argument and required the value of the prefix. Value can either be "value" or an input file if in the formate of @input-file-name ex: put-consul-kv foo/bar baz OR put-consul-kv foo/bar @input-file
  • get-vault-kv - Get a value from the Vault KV, requires the Vault KV prefix as the first argument, and optionally takes a parameter in the second position a