aws-s3
aws-s3 copied to clipboard
Add `endpoint` setting
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!
Would you consider a pull request implementing this change?
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 :(
I use https://github.com/fortrabbit/craft-object-storage for S3 compatible buckets that need a custom endpoint. Works out of the box.
I need the same function! Would help me a lot to have an official plugin for it.
Would like to see this added also. S3 compatible storage has become more common in my workflow.
With the advent of services like Cloudflare R2 and other S3 compatible services, an endpoint setting will have even more utility.