A

Atlas CLI

CLI discovered

Details
Command
atlas
Docs
https://www.mongodb.com/docs/atlas/cli/current/connect-atlas-cli/
Authentication
Atlas service account client ID and client secret oauth2_cc discovered Set up OAuth ↗
$ atlas auth login

In Get Started with the Atlas Administration API, go to Applications in your Atlas organization, click Add new Service Account, assign organization/project roles, create it, and copy the client secret when shown. Use the client ID and secret to mint an OAuth token with the client-credentials flow at POST https://cloud.mongodb.com/api/oauth/token.

Atlas Administration API public/private API key pair basic discovered $ atlas auth login

Acquired by the CLI — running atlas auth login opens the auth flow and stores the credential.