Skip to content

Instantly share code, notes, and snippets.

@pranavcode
Created April 1, 2019 14:50
Show Gist options
  • Save pranavcode/757820dd1016c9e038e466a27e6c1d2b to your computer and use it in GitHub Desktop.
Save pranavcode/757820dd1016c9e038e466a27e6c1d2b to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 2 - Using python-consul to connect to Consul's KV store to fetch configuration parameter
import consul
consul_client = consul.Consul(
host='consul_server',
port=8500,
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment