top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to use encrypted password in connection string in Mongo?

0 votes
537 views

How could we use encrypted password in connection string? Let suppose if we are using below string:mongo localhost:27017/admin -u abc -p Test123

But we don't want the password to be publically visible directly in connection string.

Is there any way to use encrypted password?

posted Jul 1, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

I use the mongo c driver to operate the mongodb, I just wonder if the driver has the function of auto re-connection? And if I use a mongodb cluster with three shards, how can I connect all of the Mongos? And how can I do to switch to another mongos when i am using one of the mongos to operate the DB?

Any help is welcome.

+1 vote

Explain with an example?

...