'Connecting Teleport to Mongodb in cloud via mongos analog

In my case, I need to connect gravitational Teleport to mongodb in the cloud through an application deployed in kubernetes. For postgresql, I used Pgbouncer which, using user/password, connected to postgresql in the cloud, and a teleport was connected to it using a certificate. For mongodb, I found a solution with mongos that can be connected to mongodb in the cloud, but only by keyFile, but I need by user/password. Can anyone help me find an analogue of pgbouncer for mongodb or suggest another solution? Thanks a lot!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source