S3 file storage support for Invenio.
To use this module together with Invenio-Files-Rest there are a few things you need to keep in mind.
The storage factory configuration variable,
needs to be set to
'invenio_s3.s3fs_storage_factory' importable string.
We think the best way to use this module is to have one Localtion for each S3 bucket. This is just for simplicity, it can used however needed.
When creating a new location which will use the S3 API, the URI needs to start
s3://, for example
invenio files location s3_default s3://my-bucket --default will
create a new location, set it as default location for your instance and use the
my-bucket. For more information about this command check
Then, there are a few configuration variables that need to be set on your instance, like the endpoint, the access key and the secret access key, see a more detailed description in Configuration.
This module doesn’t create S3 buckets automatically, so before starting they need to be created.