Improve documentation of token renewal

This commit is contained in:
vishalnayak
2015-09-11 21:08:32 -04:00
parent 2c4b346c81
commit ec4f6e59b3
7 changed files with 20 additions and 12 deletions

View File

@@ -82,8 +82,9 @@ Usage: vault token-create [options]
This token will be created as a child of your token. The created token
will inherit your policies, or can be assigned a subset of your policies.
A lease can also be associated with the token. If a lease is associated,
it will expire after that amount of time unless it is renewed.
A lease can also be associated with the token. If a lease is not associated
with the token, then it cannot be renewed. And if a lease is associated with
the token, it will expire after that amount of time unless it is renewed.
Metadata associated with the token (specified with "-metadata") is
written to the audit log when the token is used.
@@ -103,7 +104,8 @@ Token Options:
is a non-security sensitive value used to help
identify created secrets, i.e. prefixes.
-lease="1h" Lease to associate with the token.
-lease="1h" Lease to associate with the token. This option enables
the tokens to be renewable.
-metadata="key=value" Metadata to associate with the token. This shows
up in the audit log. This can be specified multiple