0.1.1 • Published 7 years ago

keystone-s3-adapter v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

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'
  }
});