Upload an object to Scaleway Object Storage
scaleway_s3_put_objectUpload a single object to a Scaleway S3 bucket by specifying bucket, key, and content. Supports text or base64-encoded binary payloads up to 5 MB.
Instructions
Upload (or overwrite) a single object. Single-part only - see the 'content' field for the size ceiling and the binary-payload encoding.
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). | |
| content | Yes | Object content. For text, pass it directly as UTF-8. For binary payloads, base64-encode first and set encoding='base64'. Decoded size is capped (MAX_PUT_OBJECT_BYTES, default 5 MB) - multipart/large-file upload is out of scope; use the console or scw CLI for anything larger. | |
| encoding | No | How to interpret 'content' before uploading. | utf8 |
| content_type | No | MIME type, e.g. 'application/pdf' or 'image/png'. Guessed by S3 as octet-stream if omitted. |