There are many forms of authentication. I think you should want the simplest integrated verification. Please refer to the documentation to see if there is anything you don’t understand https://docs.mongodb.com/manu... https://docs.mongodb.com/manu...
The answer on the first floor is very complete, here is a supplement:
One of the official documents is a textbook specifically explaining how to configure authentication in the Sharding environment:
https://docs.mongodb.com/manu...
Basically, you need to complete: 1. Configure internal authentication (inside Sharded Cluster); 2. Configure authentication from the client to the Sharded environment.
Configuration requires a lot of manual operations. If you can purchase and use MongoDB Ops Manager, things will become much simpler, and you can concentrate on designing the program.
There are many forms of authentication. I think you should want the simplest integrated verification. Please refer to the documentation to see if there is anything you don’t understand
https://docs.mongodb.com/manu...
https://docs.mongodb.com/manu...
The answer on the first floor is very complete, here is a supplement:
One of the official documents is a textbook specifically explaining how to configure authentication in the Sharding environment:
https://docs.mongodb.com/manu...
Basically, you need to complete: 1. Configure internal authentication (inside Sharded Cluster); 2. Configure authentication from the client to the Sharded environment.
Configuration requires a lot of manual operations. If you can purchase and use MongoDB Ops Manager, things will become much simpler, and you can concentrate on designing the program.
For reference.
Love MongoDB! Have Fun!