Generate Presigned URL
AI-generatedOverview
This node operation generates a presigned URL for an existing file stored in an S3 or MinIO bucket. It is useful for securely sharing temporary access to private files without exposing credentials. For example, you can generate a presigned URL to allow a user to download a file for a limited time without requiring direct access to the storage service.
Use Case Examples
- Generate a presigned URL for a file in an S3 bucket to share with a client for secure temporary access.
- Create a presigned URL to allow a user to download a report stored in MinIO without exposing your access keys.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | Name of the S3/MinIO bucket where the file is stored. |
| Object Key | Key (path) of the object (file) in the bucket for which to generate the presigned URL. |
| Expiration Time (Seconds) | Time in seconds until the presigned URL expires and becomes invalid. |
Output
JSON
operation- The operation performed, here it is 'presignedUrl'.bucketName- The name of the bucket containing the object.objectKey- The key (path) of the object for which the presigned URL was generated.presignedUrl- The generated presigned URL granting temporary access to the object.expiresAt- Timestamp indicating when the presigned URL will expire.generatedAt- Timestamp indicating when the presigned URL was generated.
Dependencies
- Requires credentials for S3/MinIO access including access key, secret key, region, and optionally endpoint URL and path style configuration.
Troubleshooting
- Common issues include invalid bucket name or object key resulting in errors from the storage service.
- Expired or incorrectly set expiration time may cause the presigned URL to be invalid or unusable.
- Ensure credentials are correctly configured and have sufficient permissions to generate presigned URLs.