An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
Device twin data and telemetry that IoT Hub handles on its built-in endpoints is protected both in transit and at rest by the platform.
For data in transit:
- IoT Hub requires TLS for data-plane communications. Telemetry, twin updates, and other device-to-cloud or cloud-to-device operations are encrypted over the wire using TLS, as covered under IoT Hub’s data-in-transit encryption. This is enabled by default and managed by Microsoft; no extra configuration is required for standard IoT Hub usage.
For data at rest:
- Customer content that IoT Hub stores (including device twin state and telemetry retained within the service) is encrypted at rest using Microsoft-managed keys by default, as part of Azure’s platform-level “encryption at rest” implementation.
- Encryption at rest in Azure uses symmetric encryption keys stored in secure key stores with identity-based access control and auditing. Platform-managed keys are used automatically unless a given Azure service explicitly supports customer-managed keys. In the IoT Hub security baseline, data-at-rest encryption using platform keys is listed as supported and enabled by default.
If additional protection is required beyond platform encryption (for example, for highly sensitive fields in device twins or telemetry), data should be encrypted at the device or application level before being sent to IoT Hub, so that only downstream consumers with the appropriate keys can decrypt it.
References: