Are there any recommendations for MongoDB proxies?

I’m looking for a reverse proxy for a MongoDB server. Ideally, it should be able to whitelist login users, allowing developers to log in only with read-only accounts.

I am curious why you are looking for a 3rd party tool. Why not use mongodb users & roles directly or integration with OIDC/LDAP?

I use haproxy with the configuration from Setting Up MongoDB Replica Set with Docker and HAProxy | Leaves One - Alan Richard's Blog

I am curious why you need to introduce haproxy? mongo driver is built to handle HA on its own

I need to connect from outside of the cluster for a couple of use cases (Azure Data Factory being one) and the client won’t be able to resolve the cluster DNS. It’s not a general purpose configuration bu does provide a way for an external client to be able to connect to the active replica via a single address.

that is interesting, thanks for letting me know. You may find this feature useful, I believe you could get rid of haproxy that way.

Our manager only allows the use of MySQL CE and MongoDB CE, forbidding the use of LADP, Docker, etc., and even made developers write the passwords in the code. In other words, all backend developers have the project’s database password.

MySQL has created read-only accounts for them and added them to JumpServer. All operations can be monitored.