Open mikesname opened 7 years ago
Presumably, newer versions of the Zend S3 library add support for this
Zend support is complicated because they've shifted to a different branch of things for their ongoing development (versions 2 and 3 of the framework) while Omeka is using version 1.
Even putting that aside, from what I can see of their most up-to-date version of their AWS support library, it doesn't support this newer auth method anyway.
So, we'd have to implement it ourselves or switch to another library for implementing our AWS storage. A plugin could implement an S3 storage adapter using the official Amazon PHP SDK, for example, which does use the newer auth.
Thanks for the background. I've made a plugin adapter with the official SDK (PHP 5.5+) and, although not tested much yet, it seems to work for my use-case:
Cool!
A plugin's probably the most natural place for this because the official SDK has so much higher minimum requirements than Omeka itself.
We would find S3 object storage extremely useful but I was not able to get it work when configured via the
Omeka_Storage_Adapter_ZendS3
. It turns out that this is because we're using the Frankfurt region, which requires a newer (v4) authorisation mechanism than older regions. The specific error is:Presumably, newer versions of the Zend S3 library add support for this, but is there any chance of getting it in Omeka?