Create a workspace with Microsoft Azure – IoT Hub

AI Asset Manager User Manual

Product
AI Asset Manager
Product Version
2.2.0
Language
en-US

Microsoft Azure – IoT Hub parameter settings

To create a new workspace, proceed as follows:



  1. Enter a name for your new workspace (maximum of 20 characters)

  2. Select the Workspace type Cloud integration

  3. Select the Cloud provider Azure IoT Hub

  4. Upload the MQTT connection configuration file

  5. Click on the "Create workspace" button

Microsoft Azure – IoT Hub MQTT connection configuration file

Create a .json configuration file to be imported into the AI Asset Manager:

{
"ca_cert": "content of ${root_certificate_authority}",
"x509_certificate": "content of ${x509_certificate}",
"x509_private_key": "content of ${x509_private_key}",
"endpoint": "tls://${iot-hub_name}.azure-devices.net:8883",
"topic_prefix": "devices/${device_id}",
"client_id": "${device_id}",
"username": "${iot-hub_name}/${device_id}/?api-version=${api_date}"
}

MQTT configuration files field explanation

  • ${iot-hub_name} and ${device_id} should match the Azure resources you already have in the IoT Hub.

  • ${root_certificate_authority} is a pem formatted root certificate authority file used by Azure Cloud. Example: DigiCertGlobalRootG2.crt.pem publicly available on the internet.

  • ${x509_certificate} is a pem formatted certificate file. The common name (CN) in the subject field of the certificate must be equal to the ${device_id}.

  • ${x509_private_key} is the pem formatted private key pair of the ${x509_certificate}.

  • ${api_date} is equal to: 2021-04-12 (as of 2022.09.06)