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 name | +Value | +
---|---|
CONSUL_HTTP_ADDR | +The HTTP API address as a host:port pair | +
CONSUL_HTTP_TOKEN | +The API access token required when access control lists (ACLs) are enabled | +
CONSUL_HTTP_AUTH | +The HTTP Basic access credentials as a username:password pair | +
CONSUL_HTTP_SSL | +Boolean (default False) to specify HTTPS connections | +
CONSUL_HTTP_SSL_VERIFY | +Boolean (default True) to specify SSL certificate verification | +
CONSUL_RPC_ADDR | +The RPC interface address as a host:port pair | +