browseDownload binary →
consul/HashiCorp Consul
HashiCorpService mesh and service discovery tool for connecting and securing distributed applications.
Containers & OrchestrationJSON
01Install
brew install consul02Global Flags
| Flag | Type | Description |
|---|---|---|
-format | enum [json, table, pretty] | Output format |
-http-addr | string | Consul agent address |
-token | string | ACL token for authentication |
-stale | boolean | Allow stale reads for better availability |
03Authentication
Methods
access-tokenenvironment-variables
Env vars
CONSUL_HTTP_ADDRCONSUL_HTTP_TOKENCONSUL_HTTP_SSLSetup
consul login04Capabilities
Reference
binary
consulcheck
consul versionauth
access-token, environment-variablesformats
table, prettyjson flag
-format=json