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

Support for connecting to private S3 buckets #353

Open
MatthewTe opened this issue Feb 17, 2025 · 2 comments
Open

Support for connecting to private S3 buckets #353

MatthewTe opened this issue Feb 17, 2025 · 2 comments

Comments

@MatthewTe
Copy link

MatthewTe commented Feb 17, 2025

Been using Terracotta for a while in personal projects and wanted to connect and serve GeoTiffs from a self hosted minio object store that requires authentication.

I'm not sure if there is already a way to do this in Terracotta but this issue Issue #1293 and this documentation about the rasterio VFS indicates that it should be straightforward to pass an AWSSession based on credentials provided via the TerracottaSettings to the rasterio.Env context that allows the RasterStore to read rasters from S3.

I've got a feature branch with an implementation the seems to work - not formatted/linted but just wanted to put this out there to see if this feature already exists or if there is a better way to implement this. Let me know if I should just create a PR for this.

Image

@MatthewTe
Copy link
Author

Created a draft PR with the minimal changes necessary to get the functionality working #354

@dionhaefner
Copy link
Collaborator

That looks useful, thanks. Will weigh in on that PR so we can iterate together.

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