Docs Menu

Docs HomeLaunch & Manage MongoDBMongoDB Atlas

Atlas UI Authentication

On this page

  • Federated Authentication
  • Multi-Factor Authentication
  • Authenticate with the Atlas CLI

Atlas offers the following options for Atlas UI authentication.

You can link your IdP to Atlas if you provide each with the appropriate metadata. After you link your IdP to Atlas, you can map domains, organizations, and roles to your IdP. To learn more, see Configure Federated Authentication.

Atlas supports MFA to help you control access to your Atlas accounts. To set up MFA, see Manage Your Multi-Factor Authentication Options.

To authenticate with Atlas using the Atlas CLI, run the following command:

atlas auth login [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas auth login.

Tip

See: Related Links

For step-by-step instructions on logging in using the Atlas CLI, see Connect from the Atlas CLI.

To log out of your Atlas account using the Atlas CLI, run the following command:

atlas auth logout [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas auth logout.

To verify and display information about your authentication state using the Atlas CLI, run the following command:

atlas auth whoami [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas auth whoami.

← Configure Access to the Atlas UI