You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support mutual TLS using a certificate from a Windows cert store (#292)
Add the ability to use a client certificate located in a Windows certificate store. Previously, the client certificate and private key had to be passed by filepath or file contents. With this change, certificates and keys stored on TPM devices can be used.
Add new `windows_cert_pubsub.py` sample to show this in action.
<spanclass="sig-name descname"><spanclass="pre">headers</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">Sequence</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference external" href="https://awslabs.github.io/aws-crt-python/api/eventstream.html#awscrt.eventstream.Header" title="(in awscrt)"><spanclass="pre">awscrt.eventstream.Header</span></a><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink" href="#awsiot.eventstreamrpc.MessageAmendment.headers" title="Permalink to this definition">¶</a></dt>
199
+
<spanclass="sig-name descname"><spanclass="pre">headers</span></span><aclass="headerlink" href="#awsiot.eventstreamrpc.MessageAmendment.headers" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">payload</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference external" href="https://docs.python.org/3/library/stdtypes.html#bytes" title="(in Python v3.10)"><spanclass="pre">bytes</span></a><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink" href="#awsiot.eventstreamrpc.MessageAmendment.payload" title="Permalink to this definition">¶</a></dt>
205
+
<spanclass="sig-name descname"><spanclass="pre">payload</span></span><aclass="headerlink" href="#awsiot.eventstreamrpc.MessageAmendment.payload" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">close</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">reason</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#awsiot.eventstreamrpc.Client.close" title="Permalink to this definition">¶</a></dt>
404
+
<dd><p>Close the connection.</p>
405
+
<p>Shutdown is asynchronous. This call has no effect if the connection
406
+
is already closed or closing.</p>
407
+
<dlclass="field-list simple">
408
+
<dtclass="field-odd">Parameters</dt>
409
+
<ddclass="field-odd"><p><strong>reason</strong> (<aclass="reference external" href="https://docs.python.org/3/library/typing.html#typing.Optional" title="(in Python v3.10)"><em>Optional</em></a><em>[</em><aclass="reference external" href="https://docs.python.org/3/library/exceptions.html#Exception" title="(in Python v3.10)"><em>Exception</em></a><em>]</em>) – If set, the connection will
410
+
close with this error as the reason (unless
411
+
it was already closing for another reason).</p>
412
+
</dd>
413
+
<dtclass="field-even">Returns</dt>
414
+
<ddclass="field-even"><p>The future which will complete
415
+
when the shutdown process is done. The future will have an
416
+
exception if shutdown was caused by an error, or a result
417
+
of None if the shutdown was clean and user-initiated.</p>
<spanclass="sig-name descname"><spanclass="pre">http_response_code</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external" href="https://docs.python.org/3/library/functions.html#int" title="(in Python v3.10)"><spanclass="pre">int</span></a></em><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoveryException.http_response_code" title="Permalink to this definition">¶</a></dt>
107
+
<spanclass="sig-name descname"><spanclass="pre">http_response_code</span></span><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoveryException.http_response_code" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">message</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><aclass="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.10)"><spanclass="pre">str</span></a></em><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoveryException.message" title="Permalink to this definition">¶</a></dt>
113
+
<spanclass="sig-name descname"><spanclass="pre">message</span></span><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoveryException.message" title="Permalink to this definition">¶</a></dt>
<spanclass="sig-name descname"><spanclass="pre">gg_groups</span></span><emclass="property"><spanclass="p"><spanclass="pre">:</span></span><spanclass="w"></span><spanclass="pre">Optional</span><spanclass="p"><spanclass="pre">[</span></span><spanclass="pre">List</span><spanclass="p"><spanclass="pre">[</span></span><aclass="reference internal" href="#awsiot.greengrass_discovery.GGGroup" title="awsiot.greengrass_discovery.GGGroup"><spanclass="pre">awsiot.greengrass_discovery.GGGroup</span></a><spanclass="p"><spanclass="pre">]</span></span><spanclass="p"><spanclass="pre">]</span></span></em><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoverResponse.gg_groups" title="Permalink to this definition">¶</a></dt>
201
+
<spanclass="sig-name descname"><spanclass="pre">gg_groups</span></span><aclass="headerlink" href="#awsiot.greengrass_discovery.DiscoverResponse.gg_groups" title="Permalink to this definition">¶</a></dt>
0 commit comments