From 84c18b06db79930419e7fdd941bd89f166c05147 Mon Sep 17 00:00:00 2001 From: Igor Abdrakhimov Date: Tue, 30 Jan 2024 15:03:34 -0800 Subject: [PATCH] Fix variable names in docs --- documents/MQTT5_Userguide.md | 6 +++--- samples/mqtt5_pubsub.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/documents/MQTT5_Userguide.md b/documents/MQTT5_Userguide.md index d6944c4f..bbb33b1c 100644 --- a/documents/MQTT5_Userguide.md +++ b/documents/MQTT5_Userguide.md @@ -77,7 +77,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri ```python # X.509 based certificate file - cert_file_path = "" + cert_filepath = "" # PKCS#1 or PKCS#8 PEM encoded private key file pri_key_filepath = "" @@ -86,8 +86,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri # Create an MQTT5 Client using mqtt5_client_builder client = mqtt5_client_builder.mtls_from_path( endpoint = "", - cert_filepath=certificate_file_path, - pri_key_filepath=private_key_filePath)) + cert_filepath=cert_filepath, + pri_key_filepath=pri_key_filepath)) ``` #### **Direct MQTT with Custom Authentication** diff --git a/samples/mqtt5_pubsub.md b/samples/mqtt5_pubsub.md index 08c59e72..3cac6e13 100644 --- a/samples/mqtt5_pubsub.md +++ b/samples/mqtt5_pubsub.md @@ -90,7 +90,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri ```python # X.509 based certificate file - cert_file_path = "" + cert_filepath = "" # PKCS#1 or PKCS#8 PEM encoded private key file pri_key_filepath = "" @@ -99,8 +99,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri # Create an MQTT5 Client using mqtt5_client_builder client = mqtt5_client_builder.mtls_from_path( endpoint = "", - cert_filepath=certificate_file_path, - pri_key_filepath=private_key_filePath)) + cert_filepath=cert_filepath, + pri_key_filepath=pri_key_filepath)) ``` #### **Direct MQTT with PKCS12 Method** @@ -189,4 +189,4 @@ by adding the http_proxy_options keyword argument to the builder: ``` SDK Proxy support also includes support for basic authentication and TLS-to-proxy. SDK proxy support does not include any additional -proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example). \ No newline at end of file +proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example).