chronograf
chronograf copied to clipboard
API shared secret storage
Spike on shared secret storage... could be loaded via env, cli, config file, etc.
let's scope this to env var only and look into configs or other options later
Ok, in this case we are done:
Christophers-MacBook-Pro-2:chronograf goller$ ./chronograf -h
Usage:
chronograf [OPTIONS]
Options for Chronograf
Application Options:
--host= the IP to listen on (default: localhost) [$HOST]
--port= the port to listen on for insecure connections, defaults to a random value (default: 8888) [$PORT]
--tls-host= the IP to listen on for tls, when not specified it's the same as --host [$TLS_HOST]
--tls-port= the port to listen on for secure connections, defaults to a random value [$TLS_PORT]
--tls-certificate= the certificate to use for secure connections [$TLS_CERTIFICATE]
--tls-key= the private key to use for secure conections [$TLS_PRIVATE_KEY]
-d, --develop Run server in develop mode.
-b, --bolt-path= Full path to boltDB file (/Users/somebody/chronograf.db) (default: chronograf.db) [$BOLT_PATH]
-c, --canned-path= Path to directory of pre-canned application layouts (default: canned) [$CANNED_PATH]
-t, --token-secret= Secret to sign tokens [$TOKEN_SECRET]
-i, --github-client-id= Github Client ID for OAuth 2 support [$GH_CLIENT_ID]
-s, --github-client-secret= Github Client Secret for OAuth 2 support [$GH_CLIENT_SECRET]
Help Options:
-h, --help ```