Medusa won the Golden Kitty Award for Best Ecommerce Product ✨  Learn More

Medusa Logo
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
  • Developers
  • Blog
  • Pricing
  • Community
  • About
  • Careers
  • Get Started
Browse

Built by

Medusa

Category

Storage

Version

1.1.1

Last updated

Nov 18, 2022, 14:25:10 PM4 months ago
View sourceView on NPMCopy link

medusa-file-minio

Upload files to a MinIO server.

Learn more about how you can use this plugin in the documentation.

Options

{
endpoint: "minio.server.com",
bucket: "test",
access_key_id: "YOUR-ACCESS-KEY",
secret_access_key: "YOUR-SECRET-KEY",
// private bucket configuration
private_bucket: 'private-bucket',
private_access_key_id: "YOUR-ACCESS-KEY",
private_secret_access_key: "YOUR-SECRET-KEY",
}

Optionally a download_url_duration option can be specified to change the valid duration of presigned download links. The duration is configured in seconds. (Default = 60 seconds)

Configuring a private bucket in Minio

Certain operations in Medusa such as data import and export require a separate, protected bucket. The plugin will raise an error if operations used for imports and exports are invoked without the correct setup.

Configuring Minio for requires configuration of one additional option: private_bucket which refers to the name given to the protected bucket in Minio.

Separate credentials can, optionally, be used to access the private bucket by configuring the following options:

private_access_key_id: "YOUR-ACCESS-KEY",
private_secret_access_key: "YOUR-SECRET-KEY",

If no separate access key is given the same access key will be used for both the bucket and the private_bucket.

altText of the image

Build your own plugins

Take Medusa up another level, and develop your own plugins with our API to speed up your processes.

Focus on building plugins for tools you use in your daily workflow, and publish to the Medusa Plugin Store for others to install.

Read more
altText of the image
Medusa

Product

Medusa for B2BIntegrationsGet StartedCareers
We're hiring

Developers

DocsAPI ReferencesCommunityDiscussions

Medusa

BlogPricingAboutContact Us

Newsletter

Get a summary of what we’ve shipped during the last month, behind the scenes updates, and team picks. Unsubscribe any time.

© 2023 MedusaJS, Inc.