Specify more complete wrap-ttl output in help

This commit is contained in:
Jeff Mitchell 2016-05-07 16:45:41 -04:00
parent c5085bc79f
commit 105d162cf2

View file

@ -201,13 +201,16 @@ func GeneralOptionsUsage() string {
not recommended. Verification will also be skipped
if VAULT_SKIP_VERIFY is set.
-wrap-ttl Indiciates that the response should be wrapped in a
-wrap-ttl="" Indiciates that the response should be wrapped in a
cubbyhole token with the requested TTL. The response
will live at "/response" in the cubbyhole of the
returned token with a key of "response" and can be
parsed as a normal API Secret. The backend can also
request wrapping; the lesser of the values is used.
May also be specified via VAULT_WRAP_TTL.
This is a numeric string with an optional suffix of
"s", "m", or "h"; if no suffix is specified it will
be parsed as seconds. May also be specified via
VAULT_WRAP_TTL.
`
return general
}