The ultimate guide to token management at GitLab
Feb 25, 2025Hakeem Abdul-Razak

Summary
This post details the evolution of GitLab's token management capabilities, introducing a credentials inventory for administrators to monitor and manage tokens. It covers token types, discovery methods (UI, API, audit events), management through UI and API, and best practices for rotation and expiration. New features include retaining records of inactive tokens for 30 days post-expiration and the introduction of a credentials inventory API endpoint. The post also highlights the importance of token rotation and provides guidance on API-based rotation.
More from the Security Control Framework trail
- Track organization-wide security risk in one dashboard
- Dependency Firewall: Block risky packages before the build
- Two front doors: Module-level access in a Django GRC app
- How GitLab tracks vulnerabilities through refactors and reformatting
- Shai-Hulud copycat campaign targets Python developers through PyPI typosquatting