Cloud storage
Three Connection types in the Cloud / Storage category: Amazon S3 (and services compatible with the S3 API, such as MinIO, Wasabi and Ceph), Azure Blob Storage / Data Lake and Google Cloud Storage. It is file-based integration for when the folder is a bucket — the data lake that receives the plant’s data, the supplier that leaves the file in a shared bucket.
All three use the same Collection and the same Delivery as SFTP / FTP:
Collection SFTP_ARQUIVO and Delivery SFTP_UPLOAD, which show up on screen as remote file. The
bucket and the base folder play the role of the server and the base directory. Mask, stability, one
message per file or per line, move/rename/delete after reading, write modes and the Test Bench work the
same way.
CMS does not create buckets or containers. Create them in the provider’s console and give the credential permission to list, read, write and delete objects.
Connection


Fields common to all three:
| Field | What it is for |
|---|---|
| Bucket (on Azure, Container) | Where the files are. It must exist |
| Base folder (prefix) | Optional. Every Collection and Delivery path is relative to it, and nothing leaves it (../ is refused) |
| Timeout (ms) | Maximum time for each operation. Default 30000 |
Amazon S3
| Field | What it is for |
|---|---|
| Region | E.g. us-east-1, sa-east-1 |
| Access key ID / Secret access key | Key of an IAM user. Without a key, the instance’s IAM role applies (CMS running on AWS). The policy needs s3:ListBucket, s3:GetObject, s3:PutObject and s3:DeleteObject |
| S3-compatible endpoint (optional) | For MinIO, Wasabi, Ceph, SeaweedFS or another service with the S3 API |
| Path-style addressing | Turn it on for S3-compatible services: the bucket goes in the URL path and not in the subdomain |
Azure Blob Storage / Data Lake
Also serves Data Lake Storage Gen2, through the same Blob API. Three ways to authenticate:
| Authentication | Fields |
|---|---|
| Connection string | The account’s connection string (Access keys, in the portal) |
| SAS | Account URL (https://account.blob.core.windows.net) and the SAS token, with list, read, write and delete permissions |
| Microsoft Entra ID | Account URL, Tenant ID, Client ID and Client secret of an app registration with the Storage Blob Data Contributor role on the container |
Google Cloud Storage
| Field | What it is for |
|---|---|
| Service account key JSON | The .json file downloaded from the console, pasted in full. The account needs the Storage Object Admin role on the bucket |
| Project | Optional — it comes from the JSON |
All credentials are stored encrypted in the database. Test Connection checks that the bucket exists and
lists the base folder: Connected to Amazon S3 — bucket "plant-data", folder "/input" with 3 item(s).
Collection and Delivery
The options are those of the SFTP / FTP page, with three differences that come from a bucket not being a file system:
- A folder is a prefix. It does not need to exist beforehand: “create directory” does nothing, and the first file written already creates it.
- Atomic write does not apply. Writing an object is already atomic — nobody reads it half-written —,
so the Delivery writes directly, without
.tmp. - Rename and move are copy and delete. It works the same, it just costs one more operation per file. Append mode reads the object, appends and writes it again: avoid two simultaneous sends to the same file.
Common errors
| Message | Likely cause |
|---|---|
| “The bucket/container … does not exist” | Wrong name, another region/account, or the credential cannot see it |
| ”… refused the credential” | Wrong or revoked key, expired SAS, missing role on the bucket/container |
| “Incomplete credential” | A field of the chosen authentication mode is missing (e.g. Access key without Secret) |
| “Invalid service account JSON” | Another JSON was pasted — the service account one has client_email and private_key |
| “Could not connect to …” | Endpoint, DNS or firewall (HTTPS, port 443) |
| “Path … points outside the base folder” | The path (or the resolved {{alias}}) tried to leave the base folder |