Mongdb shard deployment steps to start user authentication

  mongodb, question

Want to implement the following scenario:

When connecting to mongos process, user name and password are required.
 Mongos's configuration server uses replica sets.
 The collection created by mongos turns on fragmentation.

At present, the card is in the step of how to configure and start user authentication. The online tutorials are not very detailed. Ask for help.

There are many forms of authentication, I think you should be the simplest integrated authentication. Please refer to the documentation to see what you don’t understand.
https://docs.mongodb.com/manu …
https://docs.mongodb.com/manu …