Skip to content

Commit

Permalink
Update create.mdx (hashicorp#19981) (hashicorp#20061)
Browse files Browse the repository at this point in the history
Add the missing Command Option `-wrap-ttl`

Co-authored-by: Florin Cătălin Țiucra-Popa <106736683+FlorinTP@users.noreply.github.com>
  • Loading branch information
yhyakuna and FlorinTP authored Apr 10, 2023
1 parent 4782396 commit 72e29c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/content/docs/commands/token/create.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,8 @@ flags](/vault/docs/commands) included on all commands.
- `-use-limit` `(int: 0)` - Number of times this token can be used. After the
last use, the token is automatically revoked. By default, tokens can be used
an unlimited number of times until their expiration.

- `-wrap-ttl` `(duration: "")` - Wraps the response in a cubbyhole token with the
requested TTL. The response is available via the "vault unwrap" command. The TTL
is specified as a numeric string with suffix like "30s" or "5m". This can also be
specified via the `VAULT_WRAP_TTL` environment variable.

0 comments on commit 72e29c2

Please sign in to comment.