aws-s3 icon indicating copy to clipboard operation
aws-s3 copied to clipboard

Add `endpoint` setting

Open michaelhue opened this issue 5 years ago • 6 comments

Problem

There are many storage solutions offering an S3-like API (for example fortrabbit's Object Storage or MinIO).

This plugin could be used to access those services, but currently does not offer a way to set the endpoint option available in AwsClient. Exposing the endpoint option to the Control Panel would allow users to access S3-like storage with this plugin.

Solution

Add a new Endpoint config setting.


Thank you for reading!

michaelhue avatar Sep 02 '19 17:09 michaelhue

Would you consider a pull request implementing this change?

michaelhue avatar Sep 02 '19 17:09 michaelhue

There are a few more hurdles here. This plugin has a bunch of AWS-specific logic, too. For example here.

Honestly, the cleanest way to proceed about this would be to split this plugin into two plugins, with one being for AWS S3-like services, and the other extending the first plugin and adding on top of that. It's just a matter of finding the time for that :(

andris-sevcenko avatar Sep 03 '19 06:09 andris-sevcenko

I use https://github.com/fortrabbit/craft-object-storage for S3 compatible buckets that need a custom endpoint. Works out of the box.

bytebrain avatar Oct 23 '19 14:10 bytebrain

I need the same function! Would help me a lot to have an official plugin for it.

mark-wff avatar Apr 28 '20 11:04 mark-wff

Would like to see this added also. S3 compatible storage has become more common in my workflow.

ghost avatar May 15 '20 13:05 ghost

With the advent of services like Cloudflare R2 and other S3 compatible services, an endpoint setting will have even more utility.

samthejarvis avatar Jul 28 '23 13:07 samthejarvis