Scalr
Overview
Section titled “Overview”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.
What does Oneleet monitor?
Section titled “What does Oneleet monitor?”- 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.
Creating a service account token
Section titled “Creating a service account token”- In Scalr, switch to the account scope and go to Security > IAM > Service accounts, then click New service account
- Enter a name, click Grant access, select the read-only role, keep Grant on set to Account, click Assign, and then click Create
- On the service account’s Tokens tab, click Generate token, enter a name, choose an expiration, and click Generate
- Click Copy & Close to copy the token. Scalr only shows it once
For more information, see the Scalr API token documentation.
Connecting to Oneleet
Section titled “Connecting to Oneleet”- Enter your Scalr account subdomain: the part of your Scalr URL before
.scalr.io(for example,exampleforhttps://example.scalr.io) - Paste the service account token
- Click Submit
Oneleet validates the token by querying the Scalr API, and creates the connection if the token is valid.