- Reference >
- Database Commands >
- Authentication Commands >
- authenticate
authenticate¶
-
authenticate¶ Clients use
authenticateto authenticate a connection. When using the shell, use thedb.auth()helper as follows:
authenticate¶Clients use authenticate to authenticate a
connection. When using the shell, use the db.auth()
helper as follows: