glab-cluster-agent-token-cache-clear - Man Page

Clear cached GitLab Agent tokens.

Synopsis

glab cluster agent token-cache clear [flags]

Description

By default, clears tokens from both keyring and filesystem cache and revokes them on the GitLab server. Use --revoke=false to skip revocation.

Options

--agent=[] Clear tokens for specific agent IDs only.

--filesystem[=true] Clear tokens from filesystem cache.

--keyring[=true] Clear tokens from keyring cache.

-R, --repo="" Select another repository using the OWNER/REPO format.

--revoke[=true] Revoke tokens on GitLab server before clearing cache.

Options Inherited from Parent Commands

-h, --help[=false] Show help for this command.

Example

# Clear all cached agent tokens
glab cluster agent token-cache clear

# Clear tokens without revoking them on GitLab
glab cluster agent token-cache clear --revoke=false

# Clear tokens for a specific agent
glab cluster agent token-cache clear --agent 123

See Also

glab-cluster-agent-token-cache(1)

Referenced By

glab-cluster-agent-token-cache(1).

Jun 2026 Auto generated by spf13/cobra