Skip to content

feat: add flag to see all tokens if owner #6227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Feb 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
merge conflict
  • Loading branch information
Kira-Pilot committed Feb 23, 2023
commit dc106d72a8b4697827ee09b1aed2a16b7efb9117
17 changes: 10 additions & 7 deletions docs/cli/coder_tokens_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ coder tokens list [flags]

## Flags

```
-a, --all Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
-c, --column strings Columns to display in table output. Available columns: id, last used, expires at, created at, owner (default [id,last used,expires at,created at])
-h, --help help for list
-o, --output string Output format. Available formats: table, json (default "table")
```
### --all, -a

Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
<br/>
| | |
| --- | --- |
| Default | <code>false</code> |

### --column, -c

Columns to display in table output. Available columns: id, last used, expires at, created at
Columns to display in table output. Available columns: id, last used, expires at, created at, owner
<br/>
| | |
| --- | --- |
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.