Skip to content

Uploading Data to S3

Amazon S3 is an object storage service offering scalable data storage with strong data availability and security guarantees.

The Ioto agent provides convenience APIs to make uploading data or files to S3 efficient and easy.

Enabling IAM Keys

To enable S3 upload from devices, the Ioto agent must be configured to request IAM access keys. This is enabled by setting the services.cloud.keys property in the device.json5 configuration file.

1
2
3
4
5
6
7
{
    services: {
        cloud: {
            keys: true
        }
    }
}

When the agent starts, it will retrieve from the Ioto service a set of IAM access keys to sign AWS S3 API requests.