- Reference >
- Database Commands >
- authenticate
authenticate¶
-
authenticate
¶ Clients use
authenticate
to authenticate a connection. When using the shell, use thedb.auth()
helper as follows:See
db.auth()
and Security Practices and Management for more information.