browse
consul/

HashiCorp Consul

HashiCorp

Service mesh and service discovery tool for connecting and securing distributed applications.

Containers & OrchestrationJSON
01Install
brew install consul
Download binary →

02Global Flags
FlagTypeDescription
-formatenum [json, table, pretty]Output format
-http-addrstringConsul agent address
-tokenstringACL token for authentication
-stalebooleanAllow stale reads for better availability

03Authentication
Methods
access-tokenenvironment-variables
Env vars
CONSUL_HTTP_ADDRCONSUL_HTTP_TOKENCONSUL_HTTP_SSL
Setupconsul login

04Capabilities
Reference
binaryconsul
checkconsul version
authaccess-token, environment-variables
formatstable, pretty
json flag-format=json