- Overview
- MTLSAuth
MTLSAuth
Part of Configuration & authentication in the Python API reference.
Related guidance: getting-started/configuration, getting-started/authentication, security/credentials.
Runnable examples: preflight.py.
from picogrid_ecn_client import MTLSAuthConfigure MQTT authentication with a client certificate and private key.
MTLSAuth( *, kind: Literal['mtls'] = 'mtls', client_certificate: CertificateMaterial, client_key: PrivateKeyMaterial,)Fields
Section titled “Fields”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
| kind | Literal[‘mtls’] | no | ‘mtls’ | — | Authentication discriminator; always ‘mtls’. |
| client_certificate | CertificateMaterial | yes | — | — | Client certificate supplied by path or secret in-memory PEM text. |
| client_key | PrivateKeyMaterial | yes | — | — | Client private key and optional password material. |
Version 0.2.0 · branch main
