mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

Allow token to be passed in an env-file #16

Closed barbarello closed 8 years ago

barbarello commented 8 years ago

Hi @ChrisAubuchon first and foremost , terrific work , this makes it more fun to interact with the consul ACL.

however, i'm still concerned that the content of the token may still persist in the shell history with the --token option.

It is possible to add a --token-file option , so the token could be submitted more securely as in a docker run command using the --env-file option: docker run --env-file /etc/token

Thanks.

ChrisAubuchon commented 8 years ago

That's a great idea! I've added --token-file with PR https://github.com/CiscoCloud/consul-cli/pull/17

barbarello commented 8 years ago

Hey @ChrisAubuchon , I can confirm this is fixed.
Great job.