strapi-provider-upload-scaleway

3.0.6 • Public • Published

strapi-provider-upload-scaleway

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.

Usage

To install this provider run:

npm install strapi-provider-upload-scaleway

or

(recommended)

yarn add strapi-provider-upload-scaleway

Example

./config/plugins.js

module.exports = ({ env }) => ({
  // ...
  upload: {
    provider: 'scaleway',
    providerOptions: {
      accessKeyId: env('SCALEWAY_ACCESS_KEY_ID'),
      secretAccessKey: env('SCALEWAY_ACCESS_SECRET'),
      endpoint: env('SCALEWAY_ENDPOINT'),
      sslEnabled: env.bool('SCALEWAY_SSL', true),
      params: {
        Bucket: env('SCALEWAY_BUCKET')
      }
    }
  },
  // ...
});

Resources

Links

Package Sidebar

Install

npm i strapi-provider-upload-scaleway

Homepage

strapi.io

Weekly Downloads

4

Version

3.0.6

License

MIT

Unpacked Size

5.49 kB

Total Files

5

Last publish

Collaborators

  • sqveeze