glab(1)

πŸŽ€ glab-cluster-agent-token-cache-clear πŸŽ€

okay so bestie, welcome to the glab(1) manual page β€” specifically the section for glab cluster agent token-cache clear, which is literally the icon we need for tidying up cached GitLab Agent tokens πŸ’…βœ¨

🌸 NAME 🌸

glab-cluster-agent-token-cache-clear β€” it clears cached GitLab Agent tokens. no cap, that's the whole gig. 🧹✨

πŸ¦‹ SYNOPSIS πŸ¦‹

glab cluster agent token-cache clear [flags]

πŸ’– DESCRIPTION πŸ’–

okay so default vibe: it clears tokens from both the keyring and the filesystem cache, AND it revokes them on the GitLab server. like, it's thorough. if you wanna skip the revoke step, just hit it with --revoke=false and it'll leave the server alone. periodt. πŸ’…

ngl, this command is giving "spring cleaning but make it GitLab" 🌸

πŸ’… OPTIONS πŸ’…

  • --agent=[] β€” clear tokens for specific agent IDs only. like if you're like "bestie, only these agents" and not the whole squad. 🎯
  • --filesystem[=true] β€” clear tokens from filesystem cache. default is true, so it's on unless you say otherwise. πŸ—‚οΈ
  • --keyring[=true] β€” clear tokens from keyring cache. default is true, so it's on unless you say otherwise. πŸ”‘
  • -R, --repo="" β€” select another repository using the OWNER/REPO format. literally just point it at a different repo. πŸ—ƒοΈ
  • --revoke[=true] β€” revoke tokens on GitLab server before clearing cache. default is true, so it's revoking unless you turn it off. πŸ”₯

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • -h, --help[=false] β€” show help for this command. yes bestie, it's there if you need it. 🫢

🌈 EXAMPLE 🌈

here's the tea, bestie β€” three iconic ways to run this:

# 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 πŸ”₯

also check out glab-cluster-agent-token-cache(1) β€” it's the parent command and it's giving main character energy too. πŸ‘‘


Auto generated by spf13/cobra β€” no cap, the robots wrote this one β€” dated Nov 2026, and it's part of the glab(1) manual. mwah πŸ’‹

πŸ“¦ where this page comes from