Commit Graph

22 Commits

Author SHA1 Message Date
Michael S. Fischer
3a05fb70a7 command/meta.go: document environment variables
Document the environment variables which, if set, can provide default
values for configuration options.

Fixes #476
2015-08-07 15:13:30 -07:00
Armon Dadgar
18a23c9bef command: source general options docs from common source 2015-06-30 12:01:23 -07:00
Karl Gutwin
67993efeb0 Better error messages. 2015-06-30 08:59:38 -04:00
Karl Gutwin
75861c7c3b Initial sketch for client TLS auth 2015-06-29 15:33:16 -04:00
Mitchell Hashimoto
a07bd713ca Rename skip verify env 2015-05-11 11:27:54 -07:00
Mitchell Hashimoto
51a806b266 Merge pull request #181 from jefferai/fix-ca-path-walk
Fix CA path walking, and add TLS-related env vars.
2015-05-11 11:26:47 -07:00
Mitchell Hashimoto
6be7303053 command/*: -tls-skip-verify [GH-130] 2015-05-11 11:01:52 -07:00
Jeff Mitchell
e5d56747fd This adds one bugfix and one feature enhancement.
Bugfix: When walking a given CA path, the walk gives both files and
directories to the function. However, both were being passed in to be
read as certificates, with the result that "." (the given directory for
the CA path) would cause an error. This fixes that problem by simply
checking whether the given path in the walk is a directory or a file.

Feature enhancement: VAULT_CACERT, VAULT_CAPATH, and VAULT_INSECURE now
perform as expected.
2015-05-11 17:58:56 +00:00
Mitchell Hashimoto
8d79697948 command/meta: don't read token file if token is already set [GH-162] 2015-05-11 10:31:14 -07:00
Mitchell Hashimoto
bacbf6c082 command: support custom CAs 2015-04-28 09:36:03 -07:00
Mitchell Hashimoto
939123c86e command/*: lets try to remove this before 0.1.0 2015-04-28 09:20:42 -07:00
Armon Dadgar
723860fa96 command: Set minimum TLS version to 1.2 2015-04-13 19:09:44 -07:00
Mitchell Hashimoto
b1be8e9ee8 command/meta: can force config 2015-04-12 17:51:38 -07:00
Mitchell Hashimoto
46cfb9eb97 command: can force address 2015-04-12 17:30:19 -07:00
Mitchell Hashimoto
5102c89221 command/meta: tests passing 2015-03-30 23:30:30 -07:00
Mitchell Hashimoto
ca2986694c command/meta: add token to client if we have it 2015-03-30 23:10:59 -07:00
Mitchell Hashimoto
a6b9e87350 command/auth: setting tokens works 2015-03-30 10:55:41 -07:00
Mitchell Hashimoto
8e427cc3d4 command: load configuration 2015-03-30 10:25:24 -07:00
Mitchell Hashimoto
f11c8febad command/meta: VAULT_ADDR to set the addr via env var 2015-03-15 20:41:36 -07:00
Mitchell Hashimoto
6b83c937d4 command/init 2015-03-13 12:53:08 -07:00
Mitchell Hashimoto
4a916d9454 command/meta: server options 2015-03-03 23:49:37 -08:00
Mitchell Hashimoto
2800987dd4 command/auth 2015-03-03 23:34:32 -08:00