mongocli auth login
On this page
Authenticate with MongoDB Atlas.
Syntax
Command Syntax
mongocli auth login [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for login | |
--noBrowser | false | Don't try to open a browser session. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file. |
Examples
# Log in to your MongoDB Cloud Manager account in interactive mode: mongocli auth login