Skip to content

Commit

Permalink
Docs: add -type flag to token create command (#6621)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianshumate authored and michelvocks committed Apr 23, 2019
1 parent 7aaa163 commit 2166445
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/source/docs/commands/token/create.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
"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
last use, the token is automatically revoked. By default, tokens can be used
an unlimited number of times until their expiration.

0 comments on commit 2166445

Please sign in to comment.