Configure the Azure IoT Hub device registry for the facility simulator
This section describes how to set up your Azure IoT Hub workspace so the facility simulator can use it and generate devices dynamically.
- Create an IoT Hub.
- Create a new shared access policy. If you name it
facilitysimulator
, it will be picked up automatically by the simulator. If you give the policy a different name, you will need to specify it in theSharedAccessPolicyName
setting in theSinkSetting
configuration of the scenario. - Grant permission to
Read Registry
,Write Registry
, andDevice Connect
. - Copy the
Primary Key
of the shared access policy because it's your secret value. - Add the
Primary Key
and value to the secret manager (refer to configure user-supplied secrets).