I want to db.runCommand on a secondary node of a replica set, but not the primary (example).
What connection string should I use in mongosh to connect to it?
Connecting to the replica set (e.g. mongosh mongodb+srv://example.mongodb.net/) points me to the primary.
a direct connection is required, i.e.