File Upload SAS Url Expiration

Andrew Batta 21 Reputation points
2022-12-08T16:01:01.923+00:00

Is there a way to configure the expiration or TTL of the SAS upload URL through IoT Central?

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
359 questions
{count} votes

1 answer

Sort by: Most helpful
  1. chbeier 1,866 Reputation points
    2022-12-09T10:32:34+00:00

    Hello @Andrew Batta ,

    To configure IoT Central's file upload you could either use Azure CLI or the REST API as explained in howto-upload-file-rest-api. This is not done for each upload, usually once per setup.
    For security reasons and due to the required access level, I would not recommend doing this from the device side, instead I recommend doing this during setup or from a cloud service what has access granted to manage your IoT Central application and alter the IoT Central file upload configuration. Thus, your cloud-based application can keep control of what TTLs are configured. TTLs should be as short as possible, depending on your application.
    IoT devices in the field are usually the most vulnerable component in an IoT solution. Providing them with power to alter the cloud service configuration is not a clever idea.

    ----------

    If your issue is solved and to help other users, please mark this as best answer and feel free to upvote.

    0 comments No comments