Device data model
Device entities within Bosch IoT Hub are representations of physical or logical IoT devices. They are managed and persisted within the Bosch IoT Hub - Management API component.
Device representations within Bosch IoT Hub are structured as shown below. All devices within Bosch IoT Hub belong to exactly one tenant. One device has assigned zero or more credentials. Credentials consist of multiple secrets.
It is necessary to notice that the device data model allows very easily to deactivate the devices if the device property “enabled” is set to “false”. The deactivation can be executed if the device is not used any more and should be replaced with a new one, that is why the old device will be deactivated. Another use case can be that the device is compromised and the connectivity between such device and Bosch IoT Hub must be forbidden.
The authentication is loosely coupled to the Device Identity, allowing the user to choose different authentication mechanisms for different protocols. To allow rotation of authentication credentials, a credential entity may contain multiple secrets with the time span of their validity, see Device authentication for a more detailed description.