mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: implement feature to create a token on behalf of another user in the cli (#14813)
This PR addresses https://github.com/coder/coder/issues/13160
This commit is contained in:
Generated
+9
@@ -30,3 +30,12 @@ Specify a duration for the lifetime of the token.
|
||||
| Environment | <code>$CODER_TOKEN_NAME</code> |
|
||||
|
||||
Specify a human-readable name.
|
||||
|
||||
### -u, --user
|
||||
|
||||
| | |
|
||||
| ----------- | ------------------------------ |
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_TOKEN_USER</code> |
|
||||
|
||||
Specify the user to create the token for (Only works if logged in user is admin).
|
||||
|
||||
Reference in New Issue
Block a user