Update Readme.md
This commit is contained in:
parent
20c3e070ef
commit
31ea0fd695
12
README.md
12
README.md
|
@ -7,15 +7,7 @@ S3 backed storage strategy for greenlock-express.js (and greenlock.js)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
You will need:
|
You will need a s3 bucket and the corresponding credentials.
|
||||||
1. S3 Bucket (<a href="https://aws.amazon.com/s3/" target="_blank">more info.</a>)
|
|
||||||
2. AWS API credentials with read and write access to the bucket (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html" target="_blank">more info.</a>)
|
|
||||||
|
|
||||||
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
|
## Integration
|
||||||
|
|
||||||
|
@ -23,7 +15,7 @@ You will need to pass the following information to greenlock-storage-s3
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
||||||
let store = require('./index').create({
|
let store = require('greenlock-storage-s3').create({
|
||||||
accessKeyId: accessKeyId // Your accessKeyId
|
accessKeyId: accessKeyId // Your accessKeyId
|
||||||
, secretAccessKey: secretAccessKey // Your secretAccessKey
|
, secretAccessKey: secretAccessKey // Your secretAccessKey
|
||||||
, regionName: regionName // Your regionName
|
, regionName: regionName // Your regionName
|
||||||
|
|
Loading…
Reference in New Issue