laitimes

Device credentials for device management of ThingsKit IoT platform

author:Yunteng Five Continents
Device credentials for device management of ThingsKit IoT platform

Access Token

Device normal access credentials, customizable and randomly refreshed. Device credentials are unique and cannot be repeated.

Device credentials for device management of ThingsKit IoT platform

X.509

In some IoT fields with strict communication security requirements, such as smart door locks, electricity meters, water meters, gas meters, etc., you can use MQTT security authentication based on X.509TLS.

Further IoT security measures can integrate SE security chips on the device side, or use communication modules with built-in SE security chips to achieve two-way authentication of devices and platforms.

Device credentials for device management of ThingsKit IoT platform

MQTT Basic

For the normal authentication method, when using the username/password-based authentication method when connecting to MQTT, you need to use the ordinary certificate of the device, as follows:

MQTT connection parameters value illustrate
username AccessToken After the device is created, it is automatically generated, each device is unique, and the mass-produced device can automatically obtain AccessToken through the API to achieve one type and one secret.
password ProjectKey The project is automatically generated after it is created and does not support modification.
clientId Empty or any There are no restrictions on clientid, you can fill in it at will.

It should be noted that ThingsKit only supports one MQTT connection for the same device identity information, that is, if two or more physical devices use the same username/password identity information to connect to the platform, even if the clientid uses different strings, the platform still treats these connections as the same device, which will cause the latter device to be blocked after the connection is successful.

Device credentials for device management of ThingsKit IoT platform

Read on