Comparing version 1.21.1 to 1.21.2
@@ -24,2 +24,3 @@ # MQTT 5 | ||
* [Direct MQTT with PKCS12](#direct-mqtt-with-pkcs12-method) | ||
* [Direct MQTT with Windows Certificate Store Method](#direct-mqtt-with-windows-certificate-store-method) | ||
* [HTTP Proxy](#http-proxy) | ||
@@ -302,2 +303,19 @@ * [Browser](#browser) | ||
#### Direct MQTT with Windows Certificate Store Method | ||
A MQTT5 direct connection can be made with mutual TLS with the certificate and private key in the Windows certificate store, | ||
rather than simply being files on disk. To create a MQTT5 builder configured for this connection, see the following code: | ||
```typescript | ||
// Certificate store path below is an example. | ||
let certificateStorePath : string = "CurrentUser\\MY\\A11F8A9B5DF5B98BA3508FBCA575D09570E0D2C6"; | ||
let builder = AwsIotMqtt5ClientConfigBuilder.newDirectMqttBuilderWithMtlsFromWindowsCertStorePath( | ||
"<account-specific endpoint>", | ||
certificateStorePath | ||
); | ||
let client : Mqtt5Client = new mqtt5.Mqtt5Client(builder.build()); | ||
``` | ||
Note: Windows Certificate Store connection support is only available on Windows devices. | ||
#### HTTP Proxy | ||
@@ -304,0 +322,0 @@ No matter what your connection transport or authentication method is, you may connect through an HTTP proxy |
{ | ||
"name": "aws-crt", | ||
"version": "1.21.1", | ||
"version": "1.21.2", | ||
"description": "NodeJS/browser bindings to the aws-c-* libraries", | ||
@@ -54,3 +54,3 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs", | ||
"@httptoolkit/websocket-stream": "^6.0.1", | ||
"axios": "^1.6.0", | ||
"axios": "^1.6.8", | ||
"buffer": "^6.0.3", | ||
@@ -57,0 +57,0 @@ "crypto-js": "^4.2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24320988
Updatedaxios@^1.6.8