Overview
Get your Atlas Cloud API credentials to use with Terraform, CLI tools, or programmatic access.
Step 1: Log In
Go to sky.runatlas.is and log in with your account.
Step 2: Access Profile Settings
Click your profile icon in the top-right corner of the dashboard.
Step 3: Generate API Keys
- Look for the API Keys section
- The keys appear in your user card. If none exist, use the control to generate new API and Secret keys
Step 4: Copy Credentials
Copy both values:
| Credential | Used For |
|---|---|
| API Key | Username in API calls |
| Secret Key | Password in API calls |
Security
Store these securely! They provide full access to your account.
Using with Terraform
Add to your terraform.tfvars:
cloudstack_api_url = "https://sky.runatlas.is/client/api"
cloudstack_api_key = "your-api-key-here"
cloudstack_secret_key = "your-secret-key-here"Using with cmk CLI
Set environment variables:
export CLOUDSTACK_API="https://sky.runatlas.is/client/api"
export CLOUDSTACK_API_KEY="your-api-key-here"
export CLOUDSTACK_SECRET_KEY="your-secret-key-here"Regenerating Keys
If your keys are compromised or you need to rotate them:
- Go to your profile
- Use the regenerate control in the API Keys section
- Copy the new keys immediately
- Update all your scripts/configs
Rotate When Ready
Regenerate keys only when you are ready to update every client that uses them, so your automation keeps working with the current credentials.