Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 05:28
Show Gist options
  • Save velotiotech/86b51640c90d50b3b93a3eba3c4744c0 to your computer and use it in GitHub Desktop.
Save velotiotech/86b51640c90d50b3b93a3eba3c4744c0 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