-
Notifications
You must be signed in to change notification settings - Fork 14
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
Credentials do not renew automatically #26
Comments
Thanks for reporting, token refresh is not yet supported and definitely something to consider |
hi @samansmink , in there i've 1 maquine spawning many threads to read many S3 objects. my problem is that this breaks as my question is. when each thread starts. does it fetch the credentials only once to then load the files. regards,c. |
Hi @CrashLaker sure!
yes, it does this once, on secret creation. I'm not sure what the 500 error is, AWS docs are not very clear: https://repost.aws/knowledge-center/http-5xx-errors-s3 could maybe be a throttling thing? You could try messing with the |
hi @samansmink , thank you for your reply. you've pointed me to the right place in docs. thank you so much! i'll try. regards,c. |
@samansmink Are there any updates on this issue? |
No, sorry i can't give a timeline for automatic credential refreshing at this point |
We use k8s ServiceAccounts that assume IAM roles using OIDC and run DuckDB inside a k8s pod with the proper service account set. On startup, the following commands are sent to DuckDB:
Our pod then serves requests and fetches data from S3 on request, meaning that it might be asked to get data from S3 much later compared to pod startup. The problem is that the STS token has expired by then, so DuckDB fails to get the data from S3. What's the best approach to renew these credentials, or ideally, could this plugin be updated to renew them automatically once they expire?
The text was updated successfully, but these errors were encountered: