s3_generate_presigned_url
Generate a time-limited pre-signed URL for read-only access to an S3 object. Share the link for downloads; it expires after a set time.
Instructions
Generate a time-limited pre-signed URL granting read access to an S3 object. The URL is a bearer secret — anyone who possesses it can download the object until it expires. Reserved for dangerous guard mode. Confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key. | |
| bucket | Yes | Bucket name. | |
| region | No | Region the bucket lives in (e.g. 'eu-central-1'). Omit unless you know it — it is resolved automatically. AWS, and OVH when no endpoint URL is configured (pass the region s3_list_buckets reports). Rejected for Hetzner, and for an OVH endpoint URL set by hand, whose region is fixed by that endpoint. | |
| account | No | Account label of the provider whose object storage to use; omit for that provider's default account. | |
| provider | Yes | Storage provider. | |
| expires_in | No | URL expiry in seconds (1–604800, default 3600). |