fbfc08b623 | ||
---|---|---|
.circleci | ||
.gitignore | ||
README.md | ||
clean.js | ||
index.js | ||
package-lock.json | ||
package.json | ||
test.js |
README.md
greenlock-storage-s3
S3 backed storage strategy for greenlock-express.js (and greenlock.js)
Requirements
You will need:
- S3 Bucket (more info.)
- 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
- Your accessKeyId
- Your secretAccessKey
- Your regionName
- 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