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

how to use y-sweet server with AWS s3 auth with IAM role? #391

Open
jklee84 opened this issue Feb 19, 2025 · 1 comment
Open

how to use y-sweet server with AWS s3 auth with IAM role? #391

jklee84 opened this issue Feb 19, 2025 · 1 comment

Comments

@jklee84
Copy link

jklee84 commented Feb 19, 2025

Thanks for your huge effort.
I tried using y-sweet with S3, and in my environment, only IAM role authentication is accepted.

How can I use the y-sweet server with AWS S3 authentication via IAM role?
Can I get any advice?

@paulgb
Copy link
Member

paulgb commented Feb 21, 2025

Hi @jklee84, the Y-Sweet server itself is not capable of temporary IAM credential refreshing, but you could generate temporary credentials (with AssumeRole) and pass them into the Y-Sweet server. AWS limits these tokens to a 12 hour validity period, so you would have to restart the server with new credentials every 12 hours. Clients will reconnect automatically, so this restart could be done with minimal disruption.

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

No branches or pull requests

2 participants