atlas auth login
On this page
Authenticate with MongoDB Atlas.
Syntax
Command Syntax
atlas auth login [options]
Options
Name | Type | Required | Description |
---|---|---|---|
--gov | false | Log in to Atlas for Government. | |
-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 the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Examples
# Log in to your MongoDB Atlas account in interactive mode: atlas auth login