Passing ACL token while starting a Consul client

I am trying to start a Consul Client and associate it to a Consul cluster.
For this I am using following command
consul agent -config-dir /apps/consul/config -node $hostname -datacenter=$dcenter
The version is 1.0.3
The ACL token is mentioned in the config file.
Is it possible to pass on the ACL token through any other mean except config file to the client? If yes, how?

Hi @tussinha,

Actually it is not possible to configure the Consul client using environment variables (see The token configuration must be specified in the agent’s configuration file.

Would you mind sharing a bit more info on your environment, and why you’d like to provide this config as an environment variable instead of statically in the file?