Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
Description
The documentation for mongodump's --authenticationDatabase states that if an authentication database is not specified, mongodump uses the database being dumped. However, you can run mongodump without specifying a specific database to be dumped. In this scenario, mongodump uses the "admin" database for authentication credentials.
Please add a line to the documentation saying something like:
If you do not specify an authentication database, mongodump assumes that the database specified to export holds the user’s credentials.
If you do not specify an authentication database or a specific database to be dumped, mongodump assumes that the user's credentials are located within the admin database.