MinIO icon

MinIO

MinIO operation

Overview

This node allows you to interact with MinIO, an object storage service compatible with Amazon S3 APIs. Specifically, for the Remove Object operation on the Default resource, the node deletes a specified object (file) from a chosen bucket in your MinIO instance.

Common scenarios:

  • Automating cleanup of files after processing.
  • Removing outdated or temporary objects from storage.
  • Integrating file deletion into larger data workflows.

Example use case:
After processing and archiving a report, you can use this node to automatically delete the original file from your MinIO bucket.


Properties

Display Name Type Meaning
Bucket Resource Locator The target bucket in MinIO from which the object will be removed. You can select from a list or specify the name directly.
Key String The unique key (path/filename) of the object to remove from the selected bucket.

Output

  • The node does not return any specific output data for the Remove Object operation. The input items are passed through unchanged unless an error occurs.
  • No new fields are added to the json output.

Dependencies

  • External Service: Requires access to a running MinIO server.
  • Credentials: Needs valid MinIO credentials configured in n8n (minioCredentialsApi).
  • n8n Configuration: Ensure the MinIO credentials are set up in your n8n instance.

Troubleshooting

Common issues:

  • Missing Credentials:
    Error: No credentials got returned!
    Resolution: Make sure you have created and selected MinIO credentials in n8n.

  • Invalid Bucket or Key:
    If the specified bucket or key does not exist, MinIO may throw an error.
    Resolution: Double-check that the bucket and key values are correct and that the object exists.

  • Permission Denied:
    If the credentials lack permission to delete objects, the operation will fail.
    Resolution: Ensure the provided MinIO user has sufficient permissions.


Links and References

Discussion