Through the use of MQTT protocol and SAS (shared access signature) tokens, my device is connected to AZURE IoT HUB. I would like to set the SAS token's expiry time to 5 years because it is hardcoded into the device firmware. The device will be connected to IoT Hub then a message will be routed to Azure Storage using a custom endpoint.
What will the risks be?
Due to these devices' remote location, SAS tokens or firmware cannot be updated frequently.