From fbd074b7e7dcde27678bb37494dd34671fe9cada Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Mon, 5 Dec 2016 12:35:44 -0500 Subject: [PATCH] Add a table of CLI environment variables --- .../source/docs/commands/environment.html.md | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 website/source/docs/commands/environment.html.md diff --git a/website/source/docs/commands/environment.html.md b/website/source/docs/commands/environment.html.md new file mode 100644 index 0000000000..9edd7b9da3 --- /dev/null +++ b/website/source/docs/commands/environment.html.md @@ -0,0 +1,48 @@ +--- +layout: "docs" +page_title: "Environment" +sidebar_current: "docs-commands-environment" +description: |- + Consul's behavior can be modified by certain environment variables. +--- + +# Environment variables + +The Consul CLI will read the following environment variables to set +behavioral defaults. These can be overridden in all cases using +command-line arguments; see the +[Consul Commands documentation](https://www.consul.io/docs/commands/index.html) +for details. + +The following table describes these variables: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Variable nameValue
CONSUL_HTTP_ADDRThe HTTP API address as a host:port pair
CONSUL_HTTP_TOKENThe API access token required when access control lists (ACLs) are enabled
CONSUL_HTTP_AUTHThe HTTP Basic access credentials as a username:password pair
CONSUL_HTTP_SSLBoolean (default False) to specify HTTPS connections
CONSUL_HTTP_SSL_VERIFYBoolean (default True) to specify SSL certificate verification
CONSUL_RPC_ADDRThe RPC interface address as a host:port pair