Skip to main content
OpenSRE uses AWS S3 to read object metadata and content when an alert points at data in a bucket — inspecting the files a pipeline produced, sampling an object to spot a schema change, pulling an audit payload, or confirming a run finished by checking for a completion marker. All S3 access is read-only and routed through the shared AWS client, so the integration cannot mutate or delete your objects.

Prerequisites

  • AWS credentials with S3 read access, configured per the AWS integration
  • An S3 bucket you want OpenSRE to read from
  • IAM permissions for the two S3 actions listed below

Setup

S3 has no credentials of its own — it uses the same AWS credentials as the rest of the AWS integration. The S3 tools build their client from the ambient AWS credential chain: environment keys, a shared credentials profile, or an attached instance/task role — plus the region.
AWS_ROLE_ARN is assumed only by opensre integrations verify aws — the S3 tools do not assume it. The credentials above must have S3 read access themselves.
The bucket, key, and prefix OpenSRE reads are not environment variables — they come from the alert’s resolved sources. Each S3 tool turns on for the planner only when the sources carry the fields it needs:

IAM permissions

The integration only needs two read-only S3 actions:
Attach this to the same IAM role or user configured for the AWS integration. If you already use the AWS managed ReadOnlyAccess policy, both actions are covered.

Tools

Use cases

  • Listing what a pipeline wrote to a bucket, or confirming an expected file is present
  • Sampling an object to detect a schema or format change in upstream input data
  • Reading an audit payload or manifest to trace an external vendor interaction
  • Confirming a batch job completed by checking for its _SUCCESS marker

Verify

S3 shares the AWS integration’s verification. Verify credentials and region with:
Expected output:
This confirms the credentials S3 rides on. It does not test bucket-level access — that is exercised the first time a tool runs against a bucket.

Troubleshooting