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
- If no keys exist, click “Generate new API/Secret keys”
- Wait ~10 seconds for keys to appear
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
- Click “Regenerate keys”
- Copy the new keys immediately
- Update all your scripts/configs
No Grace Period
Regenerating keys immediately invalidates the old credentials. Your automation will fail until updated with the new keys. Plan accordingly.