.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-runner-controller-token-rotate - Rotate a token for a runner controller. (EXPERIMENTAL) .SH SYNOPSIS \fBglab runner-controller token rotate [flags]\fP .SH DESCRIPTION Replaces the current token with a new one. Store the new token value securely before closing the terminal. You cannot retrieve the token again. Prompts for confirmation before rotation. Use \fB--force\fR to skip the confirmation prompt in non-interactive contexts. .PP 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/. .SH OPTIONS \fB-f\fP, \fB--force\fP[=false] Skip confirmation prompt. .PP \fB--jq\fP="" Filter JSON output with a jq expression. .PP \fB-F\fP, \fB--output\fP="text" Format output as: text, json. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX # Rotate token 1 for runner controller 42 (with confirmation prompt) glab runner-controller token rotate 42 1 # Rotate without confirmation glab runner-controller token rotate 42 1 --force # Rotate and output as JSON glab runner-controller token rotate 42 1 --force --output json .EE .SH SEE ALSO \fBglab-runner-controller-token(1)\fP