Skip to content

Commit

Permalink
Fix consul connect token env variable doc (#5942)
Browse files Browse the repository at this point in the history
The cli documentation for consul connect commands incorrectly indicated
to use CONSUL_TOKEN instead of CONSUL_HTTP_TOKEN env var.
  • Loading branch information
Aestek authored and crhino committed Dec 4, 2019
1 parent 7484b42 commit 6817676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion command/connect/envoy/envoy.go
Expand Up @@ -594,7 +594,7 @@ Usage: consul connect envoy [options]
arguments using -bootstrap.
The proxy requires service:write permissions for the service it represents.
The token may be passed via the CLI or the CONSUL_TOKEN environment
The token may be passed via the CLI or the CONSUL_HTTP_TOKEN environment
variable.
The example below shows how to start a local proxy as a sidecar to a "web"
Expand Down
2 changes: 1 addition & 1 deletion command/connect/proxy/proxy.go
Expand Up @@ -405,7 +405,7 @@ Usage: consul connect proxy [options]
a non-Connect-aware application to use Connect.
The proxy requires service:write permissions for the service it represents.
The token may be passed via the CLI or the CONSUL_TOKEN environment
The token may be passed via the CLI or the CONSUL_HTTP_TOKEN environment
variable.
Consul can automatically start and manage this proxy by specifying the
Expand Down

0 comments on commit 6817676

Please sign in to comment.