Current documentation specifies that the --slaveOk option is the default for mongoexport. So by default the export is done from the secondaries.
How to disable this option in the mongoexport command line and export from primaries only ?
I only want to enable client authentication when deploy a mongodb replica set, as dont want to use the --keyfile option. Cant find useful information relate to this scenario by google...
If yes, could you share some guide link if have?