Generate a time-limited presigned URL for an object
scaleway_s3_generate_presigned_urlGenerate time-limited S3 URLs for secure GET or PUT access without exposing credentials. Ideal for sharing large files or external access.
Instructions
Generate a URL that grants direct GET or PUT access to one object for a limited time, without exposing this server's credential. Useful for handing a download/upload link to something outside MCP, or for content too large for scaleway_s3_get_object/put_object's inline transfer. operation='put' requires confirm=true because it exports a write capability outside the MCP boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key (the full path within the bucket), e.g. 'invoices/2026-08/inv-001.pdf'. | |
| bucket | Yes | Bucket name, e.g. 'payments-backups'. | |
| region | No | Region the bucket lives in. Defaults to the server's configured region (fr-par). | |
| confirm | No | Required true when operation='put'. Put hands back a time-limited unauthenticated write URL that anyone who holds it can use to overwrite the object for up to 7 days. | |
| operation | Yes | 'get' for a time-limited download URL, 'put' for a time-limited upload URL. | |
| content_type | No | For operation='put' only: constrains the presigned URL to uploads declaring this exact Content-Type. | |
| expires_in_seconds | No | URL validity window. S3's own hard ceiling is 7 days (604800s). |