Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement STS Web Identity Role credentials provider #286

Merged

Conversation

dbarbashov
Copy link
Contributor

What this PR does

AWS credentials array will have STS Web Identity token provider as the first option if AWS_ROLE_ARN and AWS_WEB_IDENTITY_TOKEN_FILE are available and non-empty in environment.

Motivation

One of the common ways to provide S3 (or any AWS related service) access to a pod in EKS is to annotate k8s service account with specified IAM Role. Then AWS Web Identity token gets mounted to the pod and AWS_ROLE_ARN and AWS_WEB_IDENTITY_TOKEN_FILE environment variables are provided automatically to the pod.

This PR enables use of these credentials.

@hsanjuan hsanjuan merged commit 085fee1 into ipfs:master Jan 30, 2024
13 checks passed
@dbarbashov dbarbashov deleted the feature/aws-sts-web-identity-provider branch January 31, 2024 14:21
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.

2 participants