Category

Storage

Version

1.0.3

Last updated

Feb 23, 2023, 15:45:43 PM2 years ago

medusa-file-oss

Upload files to an Aliyun OSS.

Options

const plugins = [
// ...
{
resolve: `medusa-file-oss`,
options: {
bucket: process.env.OSS_BUCKET,
region: process.env.OSS_REGION,
accessKeyId: process.env.OSS_ACCESS_KEY_ID,
accessKeySecret: process.env.OSS_SECRET_ACCESS_KEY,
},
},
]
Follow this guide to configure the plugin.

Build your own plugins

Develop your own plugins with our API to speed up your processes.

Make your plugin available via npm for it to be shared in our Plugin Library with the broader Medusa community.