Files
coder/docs/cli/tokens_create.md
2023-03-23 17:42:20 -05:00

33 lines
718 B
Markdown
Generated

<!-- DO NOT EDIT | GENERATED CONTENT -->
# tokens create
Create a token
## Usage
```console
coder tokens create [flags]
```
## Options
### --lifetime
| | |
| ----------- | ---------------------------------- |
| Type | <code>duration</code> |
| Environment | <code>$CODER_TOKEN_LIFETIME</code> |
| Default | <code>720h0m0s</code> |
Specify a duration for the lifetime of the token.
### -n, --name
| | |
| ----------- | ------------------------------ |
| Type | <code>string</code> |
| Environment | <code>$CODER_TOKEN_NAME</code> |
Specify a human-readable name.