feat: upgrade aws_credentials to 1.0.0 for Kubernetes IRSA support #2084
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR upgrades the
aws_credentials
dependency from version 0.3.4 to 1.0.0, enabling support for IAM Roles for Service Accounts (IRSA) when running Sequin in Kubernetes environments.What changed
aws_credentials
from~> 0.3.4
to~> 1.0.0
Why this matters
The 1.0.0 release of
aws_credentials
adds support for Kubernetes service account-based authentication using IRSA (IAM Roles for Service Accounts). This enhancement allows Sequin to:How it works
When Sequin is deployed in a Kubernetes cluster with IRSA configured:
aws_credentials
library automatically uses the web identity token file provided by KubernetesTesting
This dependency upgrade maintains backward compatibility. Sequin will continue to work with existing credential configurations while adding support for IRSA when available.
To test IRSA integration:
eks.amazonaws.com/role-arn: <IAM_ROLE_ARN>
Additional notes
This change is particularly beneficial for third-party deployments where Sequin needs to integrate with AWS services in containerized environments following security best practices.