s3_put_object
Upload small objects up to 1 MiB to a B2 bucket via base64 content or file path, ideal for manifests and configs.
Instructions
Upload a SMALL object inline (≤1 MiB) to a B2 bucket — for manifests, sidecars, and tiny configs. Provide base64-encoded content or a local file path. For real object data, generate a PutObject URL with s3_get_presigned_url and upload directly to B2 (bytes never pass through the server), or use the multipart tools for large objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| acl | No | Accepted as a no-op S3 compatibility hint; B2 bucket policy is unchanged. | |
| key | Yes | The object key (file path within the bucket). | |
| bucket | Yes | The destination bucket name. | |
| content | No | Base64-encoded content to upload. | |
| filePath | No | Absolute local path to the file to upload. | |
| metadata | No | Custom metadata key-value pairs. | |
| contentType | No | MIME type of the object. | |
| storageClass | No | Accepted as a no-op S3 compatibility hint; B2 storage class is unchanged. | |
| serverSideEncryption | No | Server-side encryption. B2 supports SSE-B2 (AES256) only — not SSE-KMS. |