Mega S4 icon

Mega S4

Interact with Mega.nz S4 object storage (S3-compatible)

Object → Get Presigned URL

AI-generated

Summary

Generate a presigned URL for accessing a specific object in a Mega S4 bucket that expires after a given time period.

Inputs

  • Bucket Name (required) — Specify the name of the bucket that contains the target object.
  • Object Key (required) — Provide the key (path and filename) of the object for which to generate the presigned URL.
  • Expiration Time — Set the number of seconds until the presigned URL expires, with a default of 3600 seconds (1 hour) and a maximum of 604800 seconds (7 days).

Output shape

a single JSON object containing the presigned URL string

The output includes the presigned URL allowing authorized access to the specified object until it expires.

Discussion