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

Workload Identity Federation should support ECS Fargate container credentials #957

Open
dwiajik opened this issue Aug 1, 2022 · 3 comments

Comments

@dwiajik
Copy link

dwiajik commented Aug 1, 2022

Is your feature request related to a problem? Please describe.
I am trying to use Workload Identity Federation on AWS ECS Fargate. It seems that AwsCredentials.getAwsSecurityCredentials (code) only supports EC2 metadata service and does not support ECS Fargate container credential URL.

Describe the solution you'd like
Google auth SDK should support ECS Fargate container credential URL through environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.

Describe alternatives you've considered
The alternative to use Workload Identity Federation on ECS Fargate is implementing the REST authentication myself.

@mdaniel
Copy link

mdaniel commented Aug 12, 2022

Google auth SDK should support ECS Fargate through environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.

And AWS_CONTAINER_CREDENTIALS_FULL_URI, too, please, so it can work in CloudShell

@ismailsimsek
Copy link

+1 having same issue

@jurgispods
Copy link

I provided a PR for this issue: #1374, feedback welcome!

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 a pull request may close this issue.

4 participants