Skip to content

Commit 1771607

Browse files
committed
Edits
1 parent 5598dc8 commit 1771607

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/iot-hub-howto-auth-device-cert-dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To connect a device to IoT Hub using an X.509 certificate:
2020

2121
This example shows certificate input parameter values as local variables for clarity. In a production system, store sensitive input parameters in environment variables or another more secure storage location. For example, use `Environment.GetEnvironmentVariable("HOSTNAME")` to read the host name environment variable.
2222

23-
In this example, the `auth` `DeviceAuthenticationWithX509Certificate` object has been populated with device and certificate information and is passed as to `DeviceClient.Create`. An example of `DeviceAuthenticationWithX509Certificate` information population has been omitted because of the flexible nature of how the certificate information can be added.
23+
In this example, the device and certificate information populated `auth` `DeviceAuthenticationWithX509Certificate` object is passed as to `DeviceClient.Create`. An example of `DeviceAuthenticationWithX509Certificate` information population is omitted because of the flexible nature of how the certificate information can be added.
2424

2525
```csharp
2626
HostName = "xxxxx.azure-devices.net";
@@ -44,4 +44,4 @@ For working samples of device X.509 certificate authentication, see:
4444

4545
* [Connect with X.509 certificate](https://github.com/Azure/azure-iot-sdk-csharp/tree/main/iothub/device/samples/how%20to%20guides/X509DeviceCertWithChainSample)
4646
* [DeviceClientX509AuthenticationE2ETests](https://github.com/Azure/azure-iot-sdk-csharp/blob/main/e2e/test/iothub/DeviceClientX509AuthenticationE2ETests.cs)
47-
* [Guided project - Provision IoT devices securely and at scale with IoT Hub Device Provisioning Service](https://learn.microsoft.com/en-us/training/modules/provision-iot-devices-secure-scale-with-iot-hub-dps/)
47+
* [Guided project - Provision IoT devices securely and at scale with IoT Hub Device Provisioning Service](/training/modules/provision-iot-devices-secure-scale-with-iot-hub-dps/)

0 commit comments

Comments
 (0)