MongoDB Atlas Authentication¶
MongoDB Atlas provider uses HTTP Digest Authentication with API key pairs consisting of a public key and private key.
Authentication Methods¶
Command-Line Arguments¶
Environment Variables¶
Creating API Keys¶
Step-by-Step Guide¶
-
Log into MongoDB Atlas
- Access the MongoDB Atlas console
-
Navigate to Access Manager
- Go to the organization or project access management section
-
Select API Keys Tab
- Click on the "API Keys" tab
-
Create API Key
- Click "Create API Key"
- Provide a description for the key
-
Set Permissions
- Grant minimum required permissions
-
Save Credentials
- Note the public key and private key
- Store credentials securely
For more details about MongoDB Atlas, see the MongoDB Atlas Tutorial.