Actions11
File → Get Link
AI-generatedOverview
This node interacts with MinIO S3 storage to manage files, buckets, and folders. Specifically, the 'Get Link' operation under the 'File' resource generates a presigned URL for a specified file in a bucket, allowing temporary access to the file without requiring direct authentication. This is useful for securely sharing files with external users or systems for a limited time, such as providing download links that expire after a set duration.
Use Case Examples
- Generate a presigned URL for a file in a bucket to share with a client, valid for one hour.
- Create temporary access links for files stored in MinIO S3 to embed in emails or web applications.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the bucket where the file is located. |
| File Name | The name of the file for which the presigned URL is generated. |
| Expiration Time (seconds) | The duration in seconds for which the presigned URL remains valid before expiring. Defaults to 3600 seconds (1 hour). |
Output
JSON
url- The presigned URL granting temporary access to the specified file.
Dependencies
- Requires an API key credential for MinIO S3 to authenticate requests.
Troubleshooting
- Ensure the bucket and file names are correct and exist in the MinIO S3 storage to avoid errors.
- If the presigned URL expires too soon or too late, adjust the 'Expiration Time' parameter accordingly.
- Check that the MinIO S3 credentials are valid and have sufficient permissions to generate presigned URLs.
Links
- MinIO Client Complete Guide - Official documentation for MinIO client operations including presigned URLs.
- Generate Presigned URL - Guide on generating presigned URLs in MinIO for secure temporary access to objects.