Skip to content

refresh AWS credentials if using task role#2104

Closed
vagelim wants to merge 6 commits into
sequinstream:mainfrom
vagelim:vageli/update-sqs-refresh
Closed

refresh AWS credentials if using task role#2104
vagelim wants to merge 6 commits into
sequinstream:mainfrom
vagelim:vageli/update-sqs-refresh

Conversation

@vagelim

@vagelim vagelim commented Jan 20, 2026

Copy link
Copy Markdown

what

Adds a refresh to the aws credentials to account for temporary credential expiry when using IAM roles instead of static credentials.

This addresses an issue reported in #2078

This patch is running in production for me under real loads.

why

This is a bandaid for a patch that should be applied upstream in the base AWS lib for elixir but I needed to get it working for my case. I am working on a patch to aws-elixir but am not ready to submit.

vagelim and others added 2 commits September 23, 2025 11:03
should prob condition on near-term expiry of session
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Jan 20, 2026
@acco acco force-pushed the main branch 2 times, most recently from caf756f to 3fdb0d5 Compare January 21, 2026 02:56
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Feb 3, 2026
@vagelim

vagelim commented Mar 2, 2026

Copy link
Copy Markdown
Author

@acco @RTLS I think this is ready for review 🙏

@vagelim

vagelim commented Mar 24, 2026

Copy link
Copy Markdown
Author

just wanted to check in on what is needed to get this in @RTLS

@vagelim

vagelim commented May 20, 2026

Copy link
Copy Markdown
Author

We have since moved away from sequin so I will no longer be monitoring this PR.

@vagelim vagelim closed this May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants