Connect Amazon Web Services
Connect an AWS account so Proofline can read infrastructure evidence through a role you create in that account.

Start the connection#
- Open Settings → Connections and find AWS connections.
- Select Connect an AWS account.
- Enter the Target AWS account ID and Installation region on the Setup tab.
- Select Continue to choose an installation method.
The connection page has Setup, Settings, and Diagnostics tabs. Setup holds installation and connection status. Diagnostics shows the last check and the issued role values. To name the connection, open Settings and edit Name. Save appears when the name changes.
Review the supplied role template before applying it. Use the trust information provided for this connection, including its external ID.
Create the role#
AWS console (recommended) opens browser-based CloudFormation setup. Choose Infrastructure code for Terraform, SST v3, or Pulumi TypeScript, or AWS CLI for a terminal. If browser installation is unavailable, Proofline shows the CLI fallback.
Enter the Target AWS account ID and Installation region. Select the account that owns the infrastructure you want Proofline to read. The region selects the CloudFormation stack or infrastructure provider. IAM roles are account-wide; you configure evidence regions separately when linking the account to an environment.
Browser installation uses your browser’s AWS session. Sign in using your organization’s usual AWS process and confirm the account in AWS.
Choose Infrastructure code or AWS CLI, then select Continue to see its instructions. The CLI instructions include an optional AWS profile. Leave it empty to use your current AWS credentials. Changing the profile updates both commands. Run 1. Check AWS identity and verify the account and installer’s ARN. A successful identity check does not prove installation permissions. Infrastructure code uses your existing deployment credentials.
Installation permissions#
The person or pipeline installing the role needs IAM write permissions. Proofline's runtime read permissions do not authorize installation. The installer needs iam:CreateRole and iam:PutRolePolicy on the exact supplied role name. Managing the role also requires iam:GetRole, iam:UpdateAssumeRolePolicy, and the deployment tool's read, update and deletion operations.
For Terraform and Pulumi, role management can require iam:ListRolePolicies, iam:GetRolePolicy, iam:ListAttachedRolePolicies, iam:ListInstanceProfilesForRole, iam:ListRoleTags, iam:UpdateRole, iam:UpdateRoleDescription, iam:DeleteRolePolicy, and iam:DeleteRole. Tagging needs iam:TagRole and iam:UntagRole. Managing a boundary needs iam:PutRolePermissionsBoundary and iam:DeleteRolePermissionsBoundary. Have your AWS administrator scope these permissions to the supplied role and your approved policies.
CloudFormation also needs cloudformation:CreateStack, cloudformation:DescribeStacks, and cloudformation:DescribeStackEvents. Its IAM capability acknowledgement grants no permissions. By default, CloudFormation uses the caller’s permissions. You can select an approved CloudFormation service role in AWS’s Permissions section. The caller needs iam:PassRole for that role, and the service role needs permission to manage the Proofline role. The console uses iam:ListRoles to populate the selector; if listing is denied, enter the approved role ARN manually. Rollback needs permission to delete the role and its inline policy.
If your deployment identity is restricted to application role names or requires a permissions boundary, ask your AWS administrator to authorize the Proofline role. Changing tools does not bypass IAM restrictions. Keep the supplied role name; renaming it to fit an application's prefix breaks this connection.
Apply with your chosen tool#
For browser installation, select Open AWS setup. Confirm the signed-in account and region, review the prefilled template parameters, acknowledge named IAM resources, then choose Create stack. The supplied target account parameter rejects installation into a different account. A separate CloudFormation stack can own the Proofline role while SST, Pulumi or Terraform manages your application. If another stack already owns the role, update it through that stack.
For AWS CLI, use the copy button at the top-right of 2. Create CloudFormation stack to copy the script into a POSIX shell. The script refuses the wrong account, downloads the template, creates the stack and waits for completion. It does not update or delete existing stacks.
For your own infrastructure code, select Terraform, SST v3, or Pulumi (TypeScript). The generated provider restricts the target account and includes your region. Use one stack or stage to manage this account-wide role. Do not deploy the same role from every application stage. If your pipeline configures provider role assumption or tags separately, preserve those approved settings when integrating the provider.
For SST v3, place the block inside run() in sst.config.ts, or a module that run() calls. SST supplies the aws namespace. Keep your existing app, stage and state configuration. For standalone Pulumi TypeScript, the block imports @pulumi/aws.
If required, enter an administrator-approved Permissions boundary ARN from the target account before copying the code. The boundary must allow every read action in the supplied template. It does not grant the installer permission to create the role. Open Installation permissions on the target account screen to set this value in a modal for any installation method. A boundary limits the reader role. A CloudFormation service role controls installation authority; the two serve different purposes.
Use the role name, trusted principal, and external ID shown on the Diagnostics tab. The trust policy must allow that principal to call sts:AssumeRole with that external ID. Every rendering includes the template's permission policy.
Review and apply the change through your authorized deployment process. A successful plan or preview does not create the role.
Proofline verifies the connection by assuming the role. This check does not establish that every required permission is present. Missing permissions can fail later when Proofline collects evidence.
Verify the role#
Return from AWS to start checking the selected account, or select Check connection. Proofline derives the role ARN from that account and the connection’s role name. You do not need to copy an ARN. Opening AWS does not confirm installation; Proofline checks access independently.
If your infrastructure change has not run yet, Proofline can keep checking while you wait for it. Once it runs, select I applied it to check promptly.
The Setup tab shows whether access is connected, checking, paused, or needs attention. The Diagnostics tab shows the last check, its error details, and the role values. Select Review setup to return to installation when access needs attention.
If installation fails, read the original CLI or deployment-tool error. For CloudFormation, select Return to AWS on the waiting screen and inspect the stack’s Events tab. If you used the CLI, open CloudFormation in the installation region and find the stack named in the script. A stack ID means AWS accepted the request, not that the role exists. Resolve an existing or rolled-back stack's reported error before retrying; the supplied script does not update or delete existing stacks.
An sts:AssumeRole refusal in Proofline does not identify the installer's failure. It can mean the role is missing or that its trust does not match. Check the role name, trusted principal, external ID, and permission policy against the supplied template. If Proofline stops checking, correct the setup and select Check again.
A pending connection is not usable. Before an account ID is saved, use Discard connection setup below the setup steps to delete a connection you no longer need. After an account ID is saved, use Remove connection on the Settings tab.
Connect the evidence to an environment#
Open the environment's Setup → AWS accounts page and use Add. Select a connected account, set its region and resource scope, and select Link account.
To connect a new account from this page, select Connect an AWS account. Proofline opens its connection page. Pending accounts in the list open that page too. Once the account connects, configure its scope and link it.
Inspect Evidence to confirm which sources are available.
In an account's environment scope, Task definition families, one per line optionally includes the ten newest active revisions of each named ECS task definition family. These can include revisions no service runs yet. Their presence does not establish that they are deployed.
Once an account's scope lists an ECR repository, ECR image scans can read the scans ECR already ran for the images those repositories list. Select Read image scans to turn it on, or Stop reading image scans to turn it off. Proofline starts no scan and pulls no image. The role needs ecr:DescribeImageScanFindings, which the current template grants. If the role was installed from an earlier template, Proofline refuses the setting and names the missing permission; update the role, then select Check access again.
After changing IAM access, an administrator can select Check access again on the AWS connection. Inspect evidence collection afterward for any remaining permission failures.
An account connection grants the configured infrastructure access. It does not establish that every service or database is covered.