Add samples/support for Azure Storage blob download down to device
It'd be interesting to be able to leverage the same mechanism as IoT Hub File Upload to Download files from blob storage to a device
The recommended way to download from blob storage is to leverage the Azure Storage SDK.
Vijay Baskar commented
Has this feature been implemented already? What is the procedure to securely download a firmware image for OTA process? The following tutorial simply ignores the whole "downloading" portion, even though it is actually meant to do ONLY that.
Christian Beier commented
With Azure Storage SDK your backend app can easily create a SAS Token URI for a specific file and send it as payload in the firmwareupdate method call to a device. You can set validity lifetime for the token. Check https://docs.microsoft.com/en-us/azure/storage/storage-dotnet-shared-access-signature-part-1
Kiran Pradeep commented
Currently there is no way to download/update a firmware with out a security gap of exposing it to the whole world.
This SDK provides an API to securely upload a blob ( IoTHubClient_LL_UploadToBlob). But when it comes to needs like firmware download, samples are using wget. Is it possible to provide us some thing like IoTHubClient_LL_DownloadFromBlob ? So that device can securely download a firmware/software, with out exposing it to whole world.