Skip to content

Commit 7edb881

Browse files
committed
Edits
1 parent afd42a9 commit 7edb881

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ ms.manager: lizross
1111
ms.date: 12/06/2024
1212
---
1313

14-
Use [create_from_x509_certificate](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-create-from-x509-certificate) to connect a device to IoT Hub using a X.509 certificate.
14+
To connect a device to IoT Hub:
15+
16+
1. Use [create_from_x509_certificate](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-create-from-x509-certificate) to add the X.509 certificate parameters
17+
18+
1. Call [connect](/python/api/azure-iot-device/azure.iot.device.iothubdeviceclient?#azure-iot-device-iothubdeviceclient-connect) to connect the device client
1519

1620
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 `os.getenv("HOSTNAME")` to read the host name environment variable.
1721

includes/iot-hub-howto-file-upload-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ from azure.storage.blob import BlobClient
4747

4848
### Connect a device to IoT Hub
4949

50-
A device app can authenticate and connect using the following methods:
50+
A device app can authenticate using the following methods:
5151

5252
* X.509 certificate
5353
* Shared access key
5454

55-
#### Connect using an X.509 certificate
55+
#### Authenticate using an X.509 certificate
5656

5757
[!INCLUDE [iot-hub-howto-auth-device-cert-python](iot-hub-howto-auth-device-cert-python.md)]
5858

59-
#### Connect using a shared access key
59+
#### Authenticate using a shared access key
6060

6161
To connect a device to IoT Hub:
6262

0 commit comments

Comments
 (0)