正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab runner-controller token create

Create a token for a runner controller. (EXPERIMENTAL)

Synopsis

Store the token value securely before closing the terminal. You cannot retrieve the token again.

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab runner-controller token create <controller-id> [flags]

Examples

# Create a token for runner controller 42
glab runner-controller token create 42

# Create a token with a description
glab runner-controller token create 42 --description "production"

# Create a token and output as JSON
glab runner-controller token create 42 --output json

Options

  -d, --description string   Description of the token.
      --jq string            Filter JSON output with a jq expression.
  -F, --output string        Format output as: text, json. (default "text")

Options inherited from parent commands

  -h, --help   Show help for this command.