Jeff Mitchell
146cdc69eb
Add periodic support for root/sudo tokens to auth/token/create
2016-08-12 21:14:12 -04:00
Jeff Mitchell
02be26e4ae
Fix up the meta common options text function to not strip leading space and fix up commands
2016-04-01 16:50:12 -04:00
Jeff Mitchell
33326b30c3
Move meta into its own package
2016-04-01 13:16:05 -04:00
Jeff Mitchell
143d876c99
Address review feedback
2016-03-01 20:25:40 -05:00
Jeff Mitchell
c3a70bc1bf
Allow token-renew
to not be given a token; it will then use the
...
renew-self endpoint. Otherwise it will use the renew endpoint, even if
the token matches the client token.
Adds an -increment flag to allow increments even with no token passed
in.
Fixes #1150
2016-03-01 17:02:48 -05:00
Jeff Mitchell
70561c0fe2
Use RenewSelf instead of Renew if the token we're renewing is the same as the client
2015-12-30 14:41:50 -05:00
Mathias Lafeldt
073e4c872e
Allow to output secrets in YAML format
...
This can be done with https://github.com/ghodss/yaml , which reuses
existing JSON struct tags for YAML.
2015-12-10 11:32:31 +01:00
vishalnayak
ec4f6e59b3
Improve documentation of token renewal
2015-09-11 21:08:32 -04:00
Armon Dadgar
18a23c9bef
command: source general options docs from common source
2015-06-30 12:01:23 -07:00
Mitchell Hashimoto
6be7303053
command/*: -tls-skip-verify [GH-130]
2015-05-11 11:01:52 -07:00
Mitchell Hashimoto
d1054ceda9
command/*: more TODO removal
2015-04-28 09:15:38 -07:00
Armon Dadgar
5aee91ccb9
command: refactor to share output formating code
2015-04-27 14:55:29 -07:00
Mitchell Hashimoto
be5d8d0a29
command/token-renew
2015-04-19 18:04:01 -07:00