View a markdown version of this page

Configuring SonarCloud connections - AWS Glue

Configuring SonarCloud connections

SonarCloud connections authenticate with an API key (or token). You store the key in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.

To configure a SonarCloud connection:

  1. Obtain your SonarCloud API credential (see the SonarCloud API documentation on the SonarCloud website).

  2. In Secrets Manager, create a secret containing the key token set to your SonarCloud credential.

  3. In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.

  4. Search for and choose SonarCloud as the data source.

  5. For credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.

  6. Grant the IAM role associated with your AWS Glue job permission to read the secret.