Authentication Commands
MongoDB 5.0 is end of life as of October 2024. This version of the documentation is no longer
supported. To upgrade your 5.0 deployment, see the MongoDB 6.0 upgrade procedures.
Note
For details on a specific command, including syntax and examples, click on the link to the command's reference page.
Name | Description |
---|---|
Starts an authenticated session using a username and password. | |
This is an internal command to generate a one-time password for authentication. | |
Deprecated. Terminates the current authenticated session. |