Skip to content

Commit 2bc6f97

Browse files
committed
Edits
1 parent f3a90d5 commit 2bc6f97

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ The X.509 certificate is attached to the device-to-IoT Hub connection transport.
1515

1616
To configure a device-to-IoT Hub connection using an X.509 certificate:
1717

18-
1. Call [fromConnectionString](/javascript/api/azure-iothub/client?#azure-iothub-client-fromconnectionstring) to add the device or module identity twin connection string and transport type to the `Client` object. Add `x509=true` to the device or module connection string to indicate that a certificate is added to `DeviceClientOptions`. For example:
18+
1. Call [fromConnectionString](/javascript/api/azure-iothub/client?#azure-iothub-client-fromconnectionstring) to add the device or module identity twin connection string, and transport type to the `Client` object. Add `x509=true` to the device or module connection string to indicate that a certificate is added to `DeviceClientOptions`. For example:
1919

2020
* A device connection string: `HostName=xxxxx.azure-devices.net;DeviceId=Device-1;SharedAccessKey=xxxxxxxxxxxxx;x509=true`
21-
* A module identity twin connection: `HostName=xxxxx.azure-devices.net;DeviceId=Device-1;ModuleId=Module-1;SharedAccessKey=xxxxxxxxxxxxx;x509=true`
21+
* A module identity twin connection string: `HostName=xxxxx.azure-devices.net;DeviceId=Device-1;ModuleId=Module-1;SharedAccessKey=xxxxxxxxxxxxx;x509=true`
2222

2323
1. Configure a JSON variable with certificate details and pass it to [DeviceClientOptions](/javascript/api/azure-iot-device/deviceclientoptions).
2424
1. Call [setOptions](/javascript/api/azure-iot-device/client?#azure-iot-device-client-setoptions-1) to add an X.509 certificate and key (and optionally, passphrase) to the client transport.
2525
1. Call [open](/javascript/api/azure-iothub/client?#azure-iothub-client-open) to open the connection from the device to IoT Hub.
2626

27-
This example shows certificate configuration information within a JSON variable. The certification configuration `options` are passed to `setOptions` and the connection is opened using `open`.
27+
This example shows certificate configuration information within a JSON variable. The certification configuration `clientOptions` are passed to `setOptions`, and the connection is opened using `open`.
2828

2929
```javascript
3030
const Client = require('azure-iot-device').Client;

includes/iot-hub-howto-module-twins-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _moduleClient = ModuleClient.CreateFromConnectionString(ModuleConnectionString,
5656
```
5757

5858
> [!NOTE]
59-
> C#/.NET does not support connecting a device app to an IoT Hub module identity twin using a certificate.
59+
> C#/.NET does not support connection of a device app to an IoT Hub module identity twin using a certificate.
6060
6161
### Retrieve a module identity twin and examine properties
6262

includes/iot-hub-howto-module-twins-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ await device_client.connect()
8181
```
8282

8383
> [!NOTE]
84-
> Python does not support connecting a device app to an IoT Hub module identity twin using a certificate.
84+
> Python does not support connection of a device app to an IoT Hub module identity twin using a certificate.
8585
8686
### Retrieve a module identity twin and examine properties
8787

0 commit comments

Comments
 (0)