Files
coder/docs/reference/cli/login_token.md
T
Kacper Sawicki d09300eadf feat(cli): add 'coder login token' command to print session token (#21627)
Adds a new subcommand to print the current session token for use in
scripts and automation, similar to `gh auth token`.

## Usage

```bash
CODER_SESSION_TOKEN=$(coder login token)
```

Fixes #21515
2026-01-29 16:06:17 +01:00

17 lines
223 B
Markdown
Generated

<!-- DO NOT EDIT | GENERATED CONTENT -->
# login token
Print the current session token
## Usage
```console
coder login token
```
## Description
```console
Print the session token for use in scripts and automation.
```