.nh .TH "glab" "1" "Jun 2025" "Auto generated by spf13/cobra" "" .SH NAME glab-cluster-agent-get-token - Create and return a k8s_proxy-scoped personal access token to authenticate with a GitLab Agents for Kubernetes. .SH SYNOPSIS \fBglab cluster agent get-token [flags]\fP .SH DESCRIPTION Create and return a k8s_proxy-scoped personal access token to authenticate with a GitLab Agents for Kubernetes. .PP This command creates a personal access token that is valid until the end of the current day. You might receive an email from your GitLab instance that a new personal access token has been created. .SH OPTIONS \fB-a\fP, \fB--agent\fP=0 The numerical Agent ID to connect to. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. Can use either \fBOWNER/REPO\fR or \fBGROUP/NAMESPACE/REPO\fR format. Also accepts full URL or Git URL. .SH SEE ALSO \fBglab-cluster-agent(1)\fP