andersfugmann / aws-s3

Ocaml library to access Amazon S3
https://andersfugmann.github.io/aws-s3/
BSD 3-Clause "New" or "Revised" License
49 stars 13 forks source link

Support for other S3-compatible services #10

Closed hcarty closed 6 years ago

hcarty commented 6 years ago

This would be useful for things like minio for local development/testing and the many S3-compatible service providers out there.

andersfugmann commented 6 years ago

Great. Thanks for the pointer. I will look into this soon - Maybe this could even be used for this library for automated integration tests though travis.

My idea would be to overload region to be something like Vendor of region_name * host * port, and possibly a val minio: host -> port -> Region.t helper function.

(The region name is used when creating signatures, so it needs to be know somehow).

hcarty commented 6 years ago

Closing now that #12 is merged.