From 72e29c2e8a5e49c312e1a2d15ef7f843eced9291 Mon Sep 17 00:00:00 2001 From: Yoko Hyakuna Date: Mon, 10 Apr 2023 12:38:56 -0700 Subject: [PATCH] Update create.mdx (#19981) (#20061) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the missing Command Option `-wrap-ttl` Co-authored-by: Florin Cătălin Țiucra-Popa <106736683+FlorinTP@users.noreply.github.com> --- website/content/docs/commands/token/create.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/content/docs/commands/token/create.mdx b/website/content/docs/commands/token/create.mdx index 047d9aa0d0c5..ed66e21ea90e 100644 --- a/website/content/docs/commands/token/create.mdx +++ b/website/content/docs/commands/token/create.mdx @@ -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.