S3-compatible content store adaptor for Indiekit.
npm i @indiekit/store-s3
Add @indiekit/store-s3
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/store-s3"],
"@indiekit/store-s3": {
"region": "us-west",
"endpoint": "https://s3-example-us-west-1.amazonaws.com",
"bucket": "website"
}
}
Option | Type | Description |
---|---|---|
accessKey |
string |
Your S3 access key. Required, defaults to process.env.S3_ACCESS_KEY . |
secretKey |
string |
Your S3 secret key. Required, defaults to process.env.S3_SECRET_KEY . |
region |
string |
Your S3 region name, for example "us-west" . Required. |
endpoint |
string |
Your S3 endpoint. Required. |
bucket |
string |
Your S3 bucket name. Required. |