From 580064670caa22d8957fb602fbb64dbce50a884c Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Mon, 22 Apr 2019 15:15:21 -0400 Subject: [PATCH] Add type to documentation for create in token auth API (#6622) * Add type to documentation for create in token auth API * Wrapped --- website/source/api/auth/token/index.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/api/auth/token/index.html.md b/website/source/api/auth/token/index.html.md index 35a66501a5..05d18328a2 100644 --- a/website/source/api/auth/token/index.html.md +++ b/website/source/api/auth/token/index.html.md @@ -84,10 +84,12 @@ during this call. to be renewed past its initial TTL. Setting the value to `true` will allow the token to be renewable up to the system/mount maximum TTL. - `lease` `(string: "")` - DEPRECATED; use `ttl` instead -- `ttl` `(string: "")` -The TTL period of the token, provided as "1h", where +- `ttl` `(string: "")` - The TTL period of the token, provided as "1h", where hour is the largest suffix. If not provided, the token is valid for the [default lease TTL](/docs/configuration/index.html), or indefinitely if the root policy is used. +- `type` `(string: "")` - The token type. Can be "batch" or "service". Defaults + to the type specified by the role configuration named by `role_name`. - `explicit_max_ttl` `(string: "")` - If set, the token will have an explicit max TTL set upon it. This maximum token TTL *cannot* be changed later, and unlike with normal tokens, updates to the system/mount max TTL value will