Azure IoT Hub
IoT Hub is the middleware that is used to register and manage devices. IoT Hub supports the MQTTS, HTTP, HTTPS, WebSocket, and AMQP protocols.
From a security point of view, Azure IOT supports the following methods:
- SAS token: This is based on private key sharing.
- X.509 certificates: As we saw in Chapter 9, the device is configured with an X.509 certificate.
- Device provisioning service (DPS): DPS automates the provisioning of IoT devices. It is very useful if you need to configure thousands of devices.
- Symmetric key authentication or shared access key authentication: Central IOT Hub and edges share the same secret key.
- Azure Active Directory authentication: This allows IoT devices to authenticate using Active Directory.
In our exercise, we will use the X.509 authentication mechanism.
To start working with IoT Hub, we need to search for IoT Hub
using the search bar (see Figure 11.3). Once you have found it, click on the Create IoT hub...