Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create a token on behalf of another user in the CLI #13160

Closed
Labels
cliArea: CLIgood first issueEasily solved issues suitable for starters and community contributors
@bpmct

Description

@bpmct

An Owner account should be able to create a token on behalf of another user in the CLI. Right now, you can only do it in the API:https://coder.com/docs/v2/latest/api/users#create-token-api-key

Desired state (example, doesn't have to be this flag/wording):

➜  ~ coder tokens create --helpcoder v2.10.0+a7234f6USAGE:  coder tokens create [flags]  Create a tokenOPTIONS:      --lifetime duration, $CODER_TOKEN_LIFETIME (default: 720h0m0s)          Specify a duration for the lifetime of the token.  -n, --name string, $CODER_TOKEN_NAME          Specify a human-readable name.+  -u, --user string, $CODER_TOKEN_USER+          Create the token on behalf of another user (Admin only)———Run `coder --help` for a list of global options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliArea: CLIgood first issueEasily solved issues suitable for starters and community contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp