How to use tpm private key for TLS with IoT Hub SDK (Not TPM Attestation) - for DeviceAuthenticationWithX509Certificate
rogrok opened this issue · 4 comments
The documentation here https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.devices.client.deviceauthenticationwithx509certificate?view=azure-dotnet states that the Certificate private key should be in the store or in the object.
Certificate | Gets or sets the X.509 certificate associated with this device. The private key should be available in the X509Certificate2 object, or should be available in the certificate store of the system where the client will be authenticated from.
Currently, we don't support this scenario. The only TPM-based authentication we support right now is symmetric key-based
Thanks Tim, is there a plan to add this for future ?
We don't have any immediate plans to add it, but it is possible we have time in the future to make this happen.