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:
Joobi S B
2024-09-30 20:15:28 +00:00
committed by GitHub
parent e70ad2b4b3
commit ba90bb0ab3
4 changed files with 73 additions and 3 deletions
+9
View File
@@ -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).