Identity-Aware Proxy for Mercurial is no longer optional. Every repo you guard contains more than code—it contains the blueprint of your product. A password alone is a weak lock. An IP whitelist is a fence anyone can climb. The only real control is binding access to the person, not just an account.
An Identity-Aware Proxy sits between your Mercurial repositories and anyone trying to reach them. It verifies who they are before a single line of data moves. The proxy checks identity through secure authentication systems like OAuth, SAML, or OpenID Connect, then enforces fine-grained access policies. It can decide exactly which repo or branch a user can touch, and it can log every attempt with full context.
With Mercurial, speed is built-in. The right Identity-Aware Proxy preserves that speed while adding a security layer that attackers can't fake. By integrating identity directly into the connection, you eliminate shared credentials, reduce lateral movement risk, and make offboarding instant. Developers work as usual, but every action is tied to a verified identity.