MinIO icon

MinIO

Connect to your MinIO server

Actions11

Overview

This node interacts with a storage service compatible with the MinIO API, focusing on bucket management. Specifically, the "Bucket - List" operation retrieves and lists all buckets available in the connected storage. This is useful for scenarios where users need to view or select from existing buckets before performing further operations like uploading or downloading files.

Practical examples:

  • Displaying all buckets to allow users to pick one for file upload.
  • Auditing or monitoring storage by listing all buckets currently available.

Properties

Name Meaning
Bucket Name The name of the bucket to operate on. It can be selected from a list of all buckets or specified directly by ID.

Note: For the "List" operation on the "Bucket" resource, the bucket name property is present but hidden (not required) because listing buckets typically does not require specifying a particular bucket.

Output

The output JSON contains an array of bucket objects representing each bucket found in the storage. Each bucket object typically includes metadata such as the bucket's name and creation date.

If the node supports binary data output (not evident from the provided code), it would represent files or objects within buckets, but this operation focuses on listing buckets only.

Dependencies

  • Requires connection credentials to a MinIO-compatible storage service.
  • Needs proper API authentication configured in n8n to access the storage service.
  • Uses internal methods for credential testing and searching lists of buckets.

Troubleshooting

  • Common issues:

    • Authentication failures due to incorrect or missing API credentials.
    • Network connectivity problems preventing access to the storage endpoint.
    • Insufficient permissions to list buckets.
  • Error messages:

    • Errors related to authorization usually indicate invalid or expired credentials; verify and update them.
    • Connection timeout errors suggest network issues; check endpoint accessibility.
    • Permission denied errors mean the authenticated user lacks rights to list buckets; adjust permissions accordingly.

Links and References

Discussion