Skip to content

feat(log-ingestor): Support EC2 IAM role authentication using the default AWS SDK credential provider chain (resolves #1939).#1962

Draft
junhaoliao wants to merge 4 commits intoy-scope:mainfrom
junhaoliao:iam-role-log-ingestor
Draft

feat(log-ingestor): Support EC2 IAM role authentication using the default AWS SDK credential provider chain (resolves #1939).#1962
junhaoliao wants to merge 4 commits intoy-scope:mainfrom
junhaoliao:iam-role-log-ingestor

Conversation

@junhaoliao
Copy link
Member

Description

Adds support for "type": "ec2" AWS authentication in the Rust components (log-ingestor, api-server, clp-rust-utils), matching the existing Python compression/query-scheduler behaviour. When ec2 auth is selected, the AWS SDK's default credential provider chain is used instead of explicit access key pairs, allowing
the service to run on EC2 instances, ECS/EKS containers, or any environment where credentials are supplied via environment variables, config files, or instance metadata (IMDSv2).

Checklist

  • The PR satisfies the contribution guidelines.
  • This is a breaking change and that has been indicated in the PR title, OR this isn't a
    breaking change.
  • Necessary docs have been updated, OR no docs need to be updated.

Validation performed

validation isn't possible with localstack ec2 cuz its emulated containers don't seem to support metadata iam/security-credentials. to be done with real aws s3 service.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 9, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@junhaoliao junhaoliao linked an issue Feb 9, 2026 that may be closed by this pull request
@junhaoliao junhaoliao added this to the Mid-February 2026 milestone Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support IAM roles for AWS authentication in Helm deployments

1 participant

Comments