Some example illustrating mongo sharding across multiple machines .connection among them is possible through identity file (.pem).
Some example illustrating mongo sharding across multiple machines .connection among them is possible through
Share
You can enable
--keyFileauthentication for your mongod/mongos servers, using your .pem file as the--keyFilevalue.Note that use of
--keyFilealso enables the general “secure mode” requiring authentication for all user and application connections.