Docs Home → Atlas Command Line Interface
Connect from the Atlas CLI
On this page
Select a Connection Method
When you connect to Atlas from the Atlas CLI, you can authenticate with one of the following commands:
Command | Authentication Method | Use Case |
---|---|---|
atlas auth login | Atlas login credentials and an authentication token | Best for non-programmatic use |
atlas config init | API keys | Best for programmatic use |
Important
API keys are stored in plaintext in the Atlas CLI configuration file. Your API keys are like passwords. Ensure that you secure the configuration file appropriately.
Select a use case below to learn more about the available options:
Connect With Minimum Required Settings
Select a use case and follow the steps to connect from the Atlas CLI with minimum required settings.
Complete the Prerequisites
Follow These Steps
Select a use case and follow the procedure to quickly connect from the Atlas CLI.
Take the Next Steps
Start using the Atlas CLI commands.
To save connection settings by modifying the default profile or create a different profile, see Save Connection Settings.