-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
S3 Region #168
Comments
Hi, we have a use case that would really benefit from being able to access the region from a single s3s endpoint. What is the current status here? Is it possible to extract the S3 region from the headers? Thanks in advance! |
It would be helpful to know more details about the use case. We can discuss design ideas here.
Line 11 in e015724
s3s/crates/s3s/src/sig_v4/methods.rs Line 232 in e015724
Yes it is possible. The information is available in |
Sure, our data management solution has the idea of realms, a collection of multiple tenants that have agreed on certain rules (like metadata formats, naming conventions, data usage agreement requirements, etc.). Data is made available via s3s. In an ideal world, we would like to separate the realms as much as possible (including, for example, the ability to have only realm-unique bucket names). We thought about "misusing" S3 regions because they more or less provide the functionality we want, except in our use case regions are not geographically separated, but logically. I have hoped that this could work without a dedicated subdomain aka. Official AWS S3 host header configuration The main problem with subdomains in an environment where the regions might change dynamically is that wildcard TLS certificates only work for a single layer, so while the dns entry |
So dynamic regions can not be in the hostname. |
This could work if dynamic regions will only use the legacy path-style requests but this is also not ideal. |
It's not clear that how to deal with s3 regions in
s3s
now.The text was updated successfully, but these errors were encountered: