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

Allow adding new S3 regions without changing minio version? #1375

Open
alxndrsn opened this issue Jan 22, 2025 · 3 comments
Open

Allow adding new S3 regions without changing minio version? #1375

alxndrsn opened this issue Jan 22, 2025 · 3 comments

Comments

@alxndrsn
Copy link
Contributor

alxndrsn commented Jan 22, 2025

Is it possible to add new regions to https://github.com/minio/minio-js/blob/master/src/internal/s3-endpoints.ts without updating the minio-js version?

This would be really helpful for projects using older versions of minio which want to support new s3 regions without having to also update their minio integration.

The hard-coded region list has been updated frequently:

@prakashsvmx
Copy link
Member

No. it is not supported to specify s3 endpoints dynamically, without a PR/change merged in the repo.

@alxndrsn
Copy link
Contributor Author

No. it is not supported to specify s3 endpoints dynamically, without a PR/change merged in the repo.

Would you consider a PR for this feature?

@prakashsvmx
Copy link
Member

Sure, we can explore.
just other SDKs also have such limitation/restriction.
may be we can add an ENV or Global variable and merge the ones already there and use it further in sdk.

similarly the region also needs to be considered.

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