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

  1. Look for the API Keys section
  2. If no keys exist, click “Generate new API/Secret keys”
  3. Wait ~10 seconds for keys to appear

Step 4: Copy Credentials

Copy both values:

CredentialUsed For
API KeyUsername in API calls
Secret KeyPassword 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:

  1. Go to your profile
  2. Click “Regenerate keys”
  3. Copy the new keys immediately
  4. 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.