Clients use authenticate to authenticate a
connection. When using the shell, use the db.auth()
helper as follows:
db.auth( "username", "password" )
db.auth() and Security
for more information.
© MongoDB, Inc 2008-2017. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB, Inc.