mongocli auth
On this page
Manage the CLI's authentication state.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for auth |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Related Commands
- mongocli auth login - Authenticate with MongoDB Atlas.
- mongocli auth logout - Log out of the CLI.
- mongocli auth whoami - Verifies and displays information about your authentication state.