Docs: add -type flag to token create command (#6621)

This commit is contained in:
Brian Shumate 2019-04-23 04:58:50 -04:00 committed by Michel Vocks
parent 9e48fae86a
commit e56a4b96bd
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ flags](/docs/commands/index.html) included on all commands.
maximumTTLs. This is specified as a numeric string with suffix like "30s" or maximumTTLs. This is specified as a numeric string with suffix like "30s" or
"5m". "5m".
- `-type` `(string: "service")` - The type of token to create. Can be "service" or "batch".
- `-use-limit` `(int: 0)` - Number of times this token can be used. After the - `-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 last use, the token is automatically revoked. By default, tokens can be used
an unlimited number of times until their expiration. an unlimited number of times until their expiration.