I have two nodes -
- Node 1 - 1 mongos, 1 config server and 1 Replica set
- Node 2 - only 1 Replica set
This whole setup is going good. but I have a major concern of enabling authentication to mongos server. at present I’m able to login to mongos without any authentication credentials and that is worrying me. and now I’m unable to find a proper resource on how to prevent this from happening. as mongos config does not have any security.authorization key to it how do I enable authorization to it?