Skip to content

Scalr

The Scalr integration connects your Scalr account to Oneleet and syncs its users, so Oneleet can track who has access to your Terraform and OpenTofu infrastructure management platform.

  • Scalr users, including account admins, team memberships, and users who are invited or inactive

To set up the Scalr integration, navigate to Integrations > Add integration > Scalr and click Continue.

Oneleet requires an API token for a Scalr service account with the read-only role on the account scope. You must be a Scalr account admin to create one.

  1. In Scalr, switch to the account scope and go to Security > IAM > Service accounts, then click New service account
  2. Enter a name, click Grant access, select the read-only role, keep Grant on set to Account, click Assign, and then click Create
  3. On the service account’s Tokens tab, click Generate token, enter a name, choose an expiration, and click Generate
  4. Click Copy & Close to copy the token. Scalr only shows it once

For more information, see the Scalr API token documentation.

  1. Enter your Scalr account subdomain: the part of your Scalr URL before .scalr.io (for example, example for https://example.scalr.io)
  2. Paste the service account token
  3. Click Submit

Oneleet validates the token by querying the Scalr API, and creates the connection if the token is valid.