Connecting to Azure Iot Hub using TPM
问题 I have successfully provisioned a device in Azure IoT using TPM authentication by following this sample and the following guide: https://docs.microsoft.com/en-us/azure/iot-dps/quick-enroll-device-tpm-java Now that my device is provisioned I'm trying to figure out the simplest way to connect to the IoT Hub using the keys stored on the TPM chip. I've tried the following code snippet: SecurityProviderTpm securityClientTPM = new SecurityProviderTPMHsm(); DeviceClient client = DeviceClient