2023-03-23 22:42:20 +00:00
|
|
|
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
|
|
|
|
# tokens
|
|
|
|
|
|
|
|
Manage personal access tokens
|
|
|
|
|
|
|
|
Aliases:
|
|
|
|
|
|
|
|
- token
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
coder tokens
|
|
|
|
```
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
```console
|
|
|
|
Tokens are used to authenticate automated clients to Coder.
|
|
|
|
- Create a token for automation:
|
|
|
|
|
2023-09-07 21:28:22 +00:00
|
|
|
$ coder tokens create
|
2023-03-23 22:42:20 +00:00
|
|
|
|
|
|
|
- List your tokens:
|
|
|
|
|
2023-09-07 21:28:22 +00:00
|
|
|
$ coder tokens ls
|
2023-03-23 22:42:20 +00:00
|
|
|
|
|
|
|
- Remove a token by ID:
|
|
|
|
|
2023-09-07 21:28:22 +00:00
|
|
|
$ coder tokens rm WuoWs4ZsMX
|
2023-03-23 22:42:20 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Subcommands
|
|
|
|
|
2023-04-11 20:05:51 +00:00
|
|
|
| Name | Purpose |
|
|
|
|
| ----------------------------------------- | -------------- |
|
|
|
|
| [<code>create</code>](./tokens_create.md) | Create a token |
|
|
|
|
| [<code>list</code>](./tokens_list.md) | List tokens |
|
|
|
|
| [<code>remove</code>](./tokens_remove.md) | Delete a token |
|