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