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

Use security-credentials endpoint for authentication? #266

Open
dshawth opened this issue Apr 8, 2022 · 1 comment
Open

Use security-credentials endpoint for authentication? #266

dshawth opened this issue Apr 8, 2022 · 1 comment
Labels
enhancement New feature or request no-stale No stale

Comments

@dshawth
Copy link

dshawth commented Apr 8, 2022

Is it possible to use the ephemeral/short-lived credentials provided by the AWS IAM role security credentials endpoint as a form of authentication for s3-proxy?

It would likely require tracking the expiration of the token and requesting a new one when it expires.

Ref: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

It if is not possible currently, is it a feature you would consider developing and including in this project?

@dshawth dshawth added the enhancement New feature or request label Apr 8, 2022
@oxyno-zeta
Copy link
Owner

Hello,

I'm afraid that this isn't possible for the moment and not planned too I'm sorry.

In S3-Proxy, static credentials aren't mandatory. That allows to use IAM roles on machines or interceptors like kube2iam.
Maybe a project like this one can help you in this particular situation ?

I'm not saying this won't arrive in the future. Maybe yes.

I hope this answer will help you. Feel free to tell me your opinion.

Regards,

@oxyno-zeta oxyno-zeta added the no-stale No stale label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-stale No stale
Projects
None yet
Development

No branches or pull requests

2 participants