coder tokens

coder tokens

manage Coder API tokens for the active user


Create and manage API Tokens for authenticating the CLI. Statically authenticate using the token value with the CODER_TOKEN and CODER_URL workspace variables.


  -h, --help   help for tokens

Options inherited from parent commands

  -v, --verbose   show verbose output


  • coder - coder provides a CLI for working with an existing Coder installation
  • coder tokens create - create generates a new API token and prints it to stdout
  • coder tokens ls - show the user's active API tokens
  • coder tokens regen - regenerate an API token by its unique ID and print the new token to stdout
  • coder tokens rm - remove an API token by its unique ID
See an opportunity to improve our docs? Make an edit.