Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

medusa-file-minio

Package Overview
Dependencies
Maintainers
2
Versions
333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medusa-file-minio

MinIO server file connector for Medusa

  • 1.1.2-staging-20221219190900
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
532
decreased by-18.9%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 19 Dec 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc