|
Heya, not sure if this is already addressed somewhere, but I haven't been able to find an exhaustive list of options you can pass to the object form of `db.auth()` in the shell. This is particularly relevant for Kerberos auth (http://docs.mongodb.org/manual/tutorial/control-access-to-mongodb-with-kerberos-authentication/) since you can pass `serviceHostname` and `serviceName` in the object parameter to `db.auth()` but the only way you can figure this out is by finding the right lines of code in the server repo:
https://github.com/mongodb/mongo/blob/6b73c5c63de972ebd39ab85c93f81e7040fe6950/src/mongo/client/dbclientinterface.h#L645-662
Google also doesn't return any reasonable results for this option: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=mongodb%20kerberos%20servicehostname
Also somewhat related to DOCS-3159
|