Skip to content

mw gitlab runner-controller token create

Releasev0.35.0 · cfeceb67

mw gitlab runner-controller token create <controller-id> [flags]

Create a token for a runner controller. (EXPERIMENTAL)

-d, --description <string>
Description of the token.
-F, --output <string>
Format output as: text, json. Default: text.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
# 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
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.