MinIO icon

MinIO

MinIO operation

Overview

This node generates a presigned GET URL for an object stored in a MinIO bucket. A presigned GET URL allows temporary, secure access to download a specific object from the bucket without requiring direct credentials. This is useful for sharing files with users or systems that should not have full access to your storage, enabling controlled, time-limited downloads.

Common scenarios:

  • Sharing a file with a third party via a secure link.
  • Integrating MinIO-stored files into web applications for user download.
  • Automating workflows where external systems need to fetch objects from your MinIO storage.

Example:
You want to send a customer a one-time download link to a PDF invoice stored in your MinIO bucket.

Properties

Display Name Type Meaning
Bucket resourceLocator The MinIO bucket containing the object. You can select from a list or enter the name.
Key string The key (path/filename) of the object within the selected bucket.

Output

The node outputs a JSON object with the following structure:

{
  "url": "<presigned_get_url>"
}
  • url: The generated presigned GET URL as a string. This URL can be used to download the specified object from the MinIO bucket.

Dependencies

  • MinIO server: You must have access to a running MinIO instance.
  • API Credentials: Requires valid MinIO credentials configured in n8n under minioCredentialsApi.
  • n8n configuration: Ensure the MinIO credentials are set up in your n8n instance.

Troubleshooting

  • No credentials got returned!
    Cause: The node could not retrieve MinIO credentials.
    Resolution: Check that you have created and selected the correct MinIO credentials in n8n.

  • The operation "presignedGetObject" is not supported!
    Cause: An unsupported operation was selected.
    Resolution: Ensure you have chosen "Presigned GET URL" as the operation.

  • Other errors (e.g., authentication, missing bucket/object):
    Cause: Invalid credentials, non-existent bucket, or incorrect object key.
    Resolution: Double-check your MinIO credentials, bucket name, and object key. Make sure the object exists and the credentials have sufficient permissions.

Links and References

Discussion