From 59d3f5110d3a3ca10e8bcddba5af22ddc88c308d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florin=20C=C4=83t=C4=83lin=20=C8=9Aiucra-Popa?= <106736683+FlorinTP@users.noreply.github.com> Date: Wed, 5 Apr 2023 17:54:07 +0200 Subject: [PATCH] Update create.mdx (#19981) Add the missing Command Option `-wrap-ttl` --- 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 047d9aa0d..ed66e21ea 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.