keystone-s3-adapter
v0.1.1
Published
Keystone file adapter for AWS S3 that also works with DigitalOcean Spaces.
Downloads
4
Readme
Keystone S3 Adapter
Also works with DigitalOcean spaces.
NOTE: Requires at least Node 8
Install
npm install keystone-s3-adapter
Use
const adapter = require('keystone-s3-adapter');
const storage = new keystone.Storage({
adapter: adapter,
storage: {
key: process.env.S3_KEY,
secret: process.env.S3_SECRET,
bucket: 'mybucket',
region: 'ams3',
digitalOcean: true,
ACL: 'public-read'
}
});