Skip to content

mw gitlab cluster agent token-cache clear

Releasev0.35.0 · cfeceb67

mw gitlab cluster agent token-cache clear [flags]

Clear cached GitLab Agent tokens from keyring and filesystem cache.

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

--agent <int64Slice>
Clear tokens for specific agent IDs only
--filesystem
Clear tokens from filesystem cache Default: true.
--keyring
Clear tokens from keyring cache Default: true.
-R, --repo <string>
Select another repository using the OWNER/REPO format
--revoke
Revoke tokens on GitLab server before clearing cache Default: true.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.