DB Connection Manager
Assuming JSON Schema & indexing is defined.
DB Connection Manager = A bundle/ file which returns connection object when ProductCode is supplied.
By default development connection object (for matched IPs/ machines + Application ), if calling test application is configured + machine IP address is test-server then test connection object if calling production application is configured + machine IP address is prod-serverr then production connection object
It also maintains connection pooling, auto password reset of databases & other password management activities.
Can admin be also maintained by above program, so no need to share admin details. (only named read access, if issue come ? nodal updates by second level authentication - OTP..etc)
Atleast send SMS after login for named users (so he can change password quickly if others misuses it)
- Explore MongoDB cloud for stitch or MongoDB enterprise ops manager