This package has been deprecated

Author message:

Strapi V3 is no longer maintained

strapi-provider-upload-aws-s3

3.6.11 • Public • Published

strapi-provider-upload-aws-s3


Deprecation Warning ⚠️

Hello! We have some news to share,

We’ve decided it’ll soon be time to end the support for strapi-provider-upload-aws-s3.

After years of iterations, Strapi is going to V4 and we won’t maintain V3 packages when it’ll reach its end-of-support milestone (~end of Q3 2022).

If you’ve been using strapi-provider-upload-aws-s3 and have migrated to V4 (or if you want to), you can find the equivalent and updated version of this package at this URL and with the following name on NPM: @strapi/provider-upload-aws-s3.

If you’ve contributed to the development of this package, thank you again for that! We hope to see you on the V4 soon.

The Strapi team


Configurations

Your configuration is passed down to the provider. (e.g: new AWS.S3(config)). You can see the complete list of options here

See the using a provider documentation for information on installing and using a provider. And see the environment variables for setting and using environment variables in your configs.

Example

./config/plugins.js

module.exports = ({ env }) => ({
  // ...
  upload: {
    provider: 'aws-s3',
    providerOptions: {
      accessKeyId: env('AWS_ACCESS_KEY_ID'),
      secretAccessKey: env('AWS_ACCESS_SECRET'),
      region: env('AWS_REGION'),
      params: {
        Bucket: env('AWS_BUCKET'),
      },
    },
  },
  // ...
});

Required AWS Policy Actions

These are the minimum amount of permissions needed for this provider to work.

"Action": [
  "s3:PutObject",
  "s3:GetObject",
  "s3:ListBucket",
  "s3:DeleteObject",
  "s3:PutObjectAcl"
],

Resources

Links

/strapi-provider-upload-aws-s3/

    Package Sidebar

    Install

    npm i strapi-provider-upload-aws-s3

    Homepage

    strapi.io

    Weekly Downloads

    12,402

    Version

    3.6.11

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    6.28 kB

    Total Files

    4

    Last publish

    Collaborators

    • alexandrebodin
    • aurelsicoko
    • pierreburgy
    • lauriejim