Hello everyone,
I have the following question for you:
Is a download operation (c8y_DownloadConfigFile) (from the device’s perspective) only possible using a binary file from the repository? Or can I specify the content directly during the operation?
I’d like to use features that work out-of-the-box with ThinEdge!
For upload operations, it is possible to use an event binary.
Best regards, David
We use AWS S3 for all our file operations - both download and upload. We only use the internal repository to hold files generated by Cumulocity itself.
From a security perspective, if you’re going to use an external repository, it’s better to use a pre-signed URL for file transfer than to send credentials.
In the repository you can define if the snapshot is a binary (stored in cumulocity) or a external URL:
When clicking on “Send configuration to device” this information will be used to create the operation with the fragment c8y_DownloadConfigFile.
I think thin-edge.io doesn’t care where to download the file unless it has access to do so.