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

Auto-refresh S3 credentials for Store.get_s3fs_filesystem #765

Open
chuckwondo opened this issue Jul 16, 2024 · 0 comments
Open

Auto-refresh S3 credentials for Store.get_s3fs_filesystem #765

chuckwondo opened this issue Jul 16, 2024 · 0 comments

Comments

@chuckwondo
Copy link
Collaborator

chuckwondo commented Jul 16, 2024

Currently, the method Store.get_s3fs_filesystem returns an s3fs.S3FileSystem instance with a default AWS session that does not automatically refresh its credentials when the credentials expire.

This should be rectified by constructing a session object and passing it into the s3fs.S3FileSystem constructor rather than explicitly passing key, secret, and token, where the session is configured to automatically refresh the credentials.

@chuckwondo chuckwondo changed the title Auto-refresh S3 credentials Auto-refresh S3 credentials for Store.get_s3fs_session. Jul 16, 2024
@chuckwondo chuckwondo changed the title Auto-refresh S3 credentials for Store.get_s3fs_session. Auto-refresh S3 credentials for Store.get_s3fs_session Jul 16, 2024
@chuckwondo chuckwondo changed the title Auto-refresh S3 credentials for Store.get_s3fs_session Auto-refresh S3 credentials for Store.get_s3fs_filesystem Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant