Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

strapi-provider-upload-aws-s3-ext

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-provider-upload-aws-s3-ext

the extended version of the strapi-provider-upload-aws

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

strapi-provider-upload-aws-s3-ext

Resources

  • MIT License

Install

npm install strapi-provider-upload-aws-s3-ext

Description

This package extends strapi's aws-s3-upload provider. The key differences are

  • Reads the AWS credentials from the environment variables.
  • Allows admins to select default ACL's for the uploads.

Set AWS Credentials

You need to add a new property called aws to your config/custom.json file(s) and set your credentials as follows.

// config/custom.json
{
  "customConfig": "This configuration is accessible through strapi.config.environments.development.myCustomConfiguration",
  "aws": {
    "accessKeyId": "${process.env.AWS_ACCESS_KEY_ID || AWS Access Key Id}",
    "secretAccessKey": "${process.env.AWS_SECRET_ACCESS_KEY || AWS Secret Key}"
  }
}

You can rename the environment variables as you like.

Keywords

strapi

FAQs

Package last updated on 05 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts