Cli/ref/mw gitlab cluster agent get-token
Appearance
mw gitlab cluster agent get-token
[edit]Create and return a k8s_proxy-scoped Personal Access Token to authenticate with a GitLab Agents for Kubernetes
Synopsis
[edit]Create and return a k8s_proxy-scoped Personal Access Token to authenticate with a GitLab Agents for Kubernetes
This command will always create a Personal Access Token that is valid until the end of the current day. You may receive an email from your GitLab instance that a new Personal Access Token has been created.
mw gitlab cluster agent get-token [flags]
Options
[edit]-a, --agent int The numerical Agent ID to connect to
Options inherited from parent commands
[edit]--help Help for this command --no-interaction Do not ask any interactive questions -R, --repo OWNER/REPO Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL -v, --verbose count Increase output verbosity. Example: --verbose=2 or -vv
SEE ALSO
[edit]- mw gitlab cluster agent - Manage GitLab Agents for Kubernetes