CircleCI
CircleCI is a continuous integration and continuous delivery platform that can be used to implement DevOps practices. It helps development teams release code rapidly by automating build, test, and code deployments.
In order to integrate CircleCI with Relyance AI you will need an API Key.
In CircleCI:
- Login to your CircleCI account.
- Click on the user profile icon at the bottom of the left-hand navigation menu.
- This will show the User Settings page. Click on Personal API Tokens in the left-hand navigation menu.
- Click on Create New Token.
- This will open up a dialog box to create the new token. Give it a meaningful name (e.g. Relyance Scan) and click Add API Token.
- This will present your new API Token. Copy it to be used in Relyance.

In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings Menu in the bottom left-hand side.
- Select Integrations.
- Click on the Vendors and Data Stores filter.
- Find the CircleCI integration card and click it to open its connections.
- Under Authentication Method, choose Custom.
- Paste the API Key into its respective field.

The Authentication step asks for:
- API Key: required; held as a secret.
- Click Authenticate.
- At this point, you should see the following result on the Vendor Integrations page:

- Congratulations, you are now connected to CircleCI.
Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.
resource "relyance_integration_connection" "circleci" {
vendor = "circleci"
name = "<your connection name>"
auth = {
method = "api-key"
params = {
data_storage_location = "us"
}
# Secret fields are write-only: sent to Relyance, never stored in state.
secrets_wo = {
api_key = var.circleci_api_key
}
secrets_wo_version = 1
}
scans = { "property-inspection" = { enabled = true } }
}