Adapter: Amazon S3
Read and write objects in an AWS S3 or S3-compatible bucket.
Purpose
Read, write, list and delete objects in an Amazon S3 or S3-compatible bucket. Pick objects up from a folder (key prefix) with the file pickup trigger.
Auth
- An access key and secret, with an optional session token.
Settings
Auth is no selector; the secret settings below are the credentials. Dotted names are fields inside an object setting. Secret settings are encrypted at rest, never returned by a read, and shown masked in the console and in exports; their defaults are not shown.
| Setting | Type | Required | Default | Secret | Description |
|---|---|---|---|---|---|
bucket | string | Yes | No | Bucket. | |
region | string | Yes | No | Region. | |
endpoint | url | No | No | S3-compatible endpoint (leave empty for AWS S3). | |
prefix | string | No | No | Key prefix for every object (a folder: '/' is appended). | |
serverSideEncryption | enum: AES256, aws:kms, none | No | AES256 | No | Server-side encryption for uploads. |
credentials | object | Yes | Access key. | ||
credentials.accessKeyId | string | Yes | No | Access key ID. | |
credentials.secretAccessKey | string | Yes | Yes | Secret access key. | |
credentials.sessionToken | string | No | Yes | Session token (temporary credentials only). | |
timeout | number | No | 30000 | No | Request timeout in milliseconds. |
maxObjectBytes | number | No | 52428800 | No | Largest object getObject will read into memory (bytes). |
Actions
A trailing ? marks an optional step parameter. A message can supply only the keys in the last column; everything else comes from the step.
| Action | What it does | Step parameters | Keys a message may supply |
|---|---|---|---|
getObject | Download an object (text, or base64 for binary). | key, encoding? | None |
putObject | Upload an object. | key?, body, bodyField?, contentType?, bodyEncoding? | None |
listObjects | List objects under a prefix (paged). | prefix?, maxKeys?, continuationToken? | None |
deleteObject | Delete an object. | key | None |
Minimal example
The smallest profile the engine accepts: the required settings only, with synthetic values. Create it with POST /api/adapter-profiles, then test it with POST /api/adapter-profiles/{id}/test.
{
"name": "Amazon S3 (example)",
"adapterType": "s3",
"config": {
"bucket": "example-bucket",
"region": "example-region",
"credentials": {
"accessKeyId": "example-accessKeyId",
"secretAccessKey": "synthetic-secret"
}
}
}Limits
- Objects are capped at
maxObjectBytes(50 MiB by default), and server-side encryption isAES256unless the profile says otherwise. - The object
keytakes name templates.