identity Id
Parameters
value
The ID of the User Managed Identity used to authenticate against the endpoint.
NOTE:
identity_id
can only be specified whenauthentication_type
isidentityBased
. It must be one of theidentity_ids
of the IoT Hub. Ifidentity_id
is omitted whenauthentication_type
isidentityBased
, then the System-Assigned Managed Identity of the IoT Hub will be used. NOTE: An IoT Hub can only be updated to use the System-Assigned Managed Identity forendpoint
since it is not possible to grant access to the endpoint until after creation. The extracted resourcesazurerm_iothub_endpoint_*
can be used to configure Endpoints with the IoT Hub's System-Assigned Managed Identity without the need for an update.