Go to file
cyrille 20c3e070ef
Merge pull request #1 from cderche/update-readme
Update Readme.md
2019-05-08 15:23:36 +01:00
.circleci CircleCI integration 2019-05-08 12:04:12 +01:00
.gitignore clean.js 2019-05-08 12:23:52 +01:00
README.md Update Readme.md 2019-05-08 15:20:09 +01:00
clean.js created index.js 2019-05-08 14:05:05 +01:00
index.js added debug functionality. 2019-05-08 14:15:46 +01:00
package-lock.json created index.js 2019-05-08 14:05:05 +01:00
package.json created index.js 2019-05-08 14:05:05 +01:00
test.js added debug functionality. 2019-05-08 14:15:46 +01:00

README.md

CircleCI Codacy Badge Known Vulnerabilities

greenlock-storage-s3

S3 backed storage strategy for greenlock-express.js (and greenlock.js)

Requirements

You will need:

  1. S3 Bucket (more info.)
  2. AWS API credentials with read and write access to the bucket (more info.)

You will need to pass the following information to greenlock-storage-s3

  1. Your accessKeyId
  2. Your secretAccessKey
  3. Your regionName
  4. Your bucketName

Integration

greenlock-express.js


let store = require('./index').create({
    accessKeyId: accessKeyId                // Your accessKeyId
    , secretAccessKey: secretAccessKey      // Your secretAccessKey
    , regionName: regionName                // Your regionName
    , bucketName: bucketName                // Your bucketName
    , configDir: 'acme/'                    // Recommended
    , accountsDir: 'accounts/'              // Recommended
    , debug: true                           // Debug
});

var Greenlock = require("greenlock-express");

var greenlock = Greenlock.create({
    // Other options
    , store: store
});

// Continue your greenlock setup

License

ISC