New
Discover how Dropbox streamlined dev environments & cut costs by switching 1000 developers to Coder

Read the success story

Home
/
Command Line
/
tokens create

tokens create

tokens create

Create a token

Usage

coder tokens create [flags]

Options

--lifetime

Typeduration
Environment$CODER_TOKEN_LIFETIME
Default720h0m0s

Specify a duration for the lifetime of the token.

-n, --name

Typestring
Environment$CODER_TOKEN_NAME

Specify a human-readable name.

See an opportunity to improve our docs? Make an edit.
On this page