mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
* add tokens switch * reorged TokensPage * using Trans component for description * using Trans component on DeleteDialog * add owner col * simplify hook return * lint * type for response * added flag for name * fixed auth * lint, prettier, tests * added unique index for login type token * remove tokens by name * better check for unique constraint * docs * test: Fix dbfake to insert token name * fix doc tests * Update cli/tokens.go Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com> * Update coderd/database/migrations/000102_add_apikey_name.down.sql Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com> * add more specificity to IsUniqueViolation check * fix tests * Fix AutorizeAllEndpoints * rename migration --------- Co-authored-by: Steven Masley <stevenmasley@coder.com> Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
656 B
656 B
coder tokens list
List tokens
Usage
coder tokens list [flags]
Flags
--all, -a
Specifies whether all users' tokens will be listed or not (must have Owner role to see all tokens).
Default | false |
--column, -c
Columns to display in table output. Available columns: id, name, last used, expires at, created at, owner
Default | [id,name,last used,expires at,created at] |
--output, -o
Output format. Available formats: table, json
Default | table |