Mitchell Hashimoto
dcc84749d1
command/auth, github: improve cli docs
...
/cc @sethvargo
2015-06-16 10:05:11 -07:00
Armon Dadgar
aa867120b3
Merge pull request #251 from DavidWittman/auth-prompt-without-args
...
Prompt for auth token when no args provided
2015-05-27 11:24:33 -07:00
David Wittman
deccef209c
Add test for stdin input
...
Shamelessly borrowed this pattern from write_test.go
2015-05-23 13:23:38 -05:00
David Wittman
d86fe916cb
Read from stdin with auth command
2015-05-23 13:23:37 -05:00
David Wittman
9797143038
Prompt for auth token when no args provided
...
This makes `vault auth` work as documented:
> If no -method is specified, then the token is expected. If it is not
> given on the command-line, it will be asked via user input. If the
> token is "-", it will be read from stdin.
2015-05-20 22:10:02 -05:00
Mitchell Hashimoto
6be7303053
command/*: -tls-skip-verify [GH-130]
2015-05-11 11:01:52 -07:00
David Wittman
e4ffd4ac27
Check for invalid token when authing via cli
...
If a token does not exist, the Read request returns without an
error, but the secret returned is `nil`, so we need to check for
that.
Closes #75
2015-04-28 21:50:51 -05:00
Mitchell Hashimoto
128eea13f6
command/*: fix spacing
2015-04-28 09:15:21 -07:00
Mitchell Hashimoto
9816427b37
command/* fill in the addr
2015-04-28 09:13:32 -07:00
Mitchell Hashimoto
969098d686
command/auth: should let <1 args go through
2015-04-07 23:53:45 -07:00
Mitchell Hashimoto
a668846932
command/auth: unify
2015-04-07 23:29:49 -07:00
Mitchell Hashimoto
e4f0563dd4
credential/github: CLI handler
2015-04-06 09:53:43 -07:00
Mitchell Hashimoto
e8fcb9e5b6
command/auth: add -method-help flag
2015-04-06 09:38:16 -07:00
Mitchell Hashimoto
3e4a8a926e
command/auth: framework for supporting more auth methods
2015-04-05 20:50:18 -07:00
Mitchell Hashimoto
9751f8c963
command/mounts: columnize
2015-04-01 17:01:10 -07:00
Mitchell Hashimoto
e8a692898c
command/auth: validate the token
2015-03-31 15:22:52 -07:00
Mitchell Hashimoto
838843e48c
command/auth: add newline so reading token doesn't output
2015-03-30 23:24:41 -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
9d8d24f7fb
command/auth: boilerplate
2015-03-29 16:42:45 -07:00
Mitchell Hashimoto
0210df0516
command/auth: document the serer options
2015-03-03 23:52:54 -08:00
Mitchell Hashimoto
2800987dd4
command/auth
2015-03-03 23:34:32 -08:00