- Overview
- CertificateMaterial
CertificateMaterial
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 CertificateMaterialProvide a certificate from a filesystem path or secret PEM text.
CertificateMaterial(*, path: Path | None = None, data: SecretStr | None = None)Fields
Section titled “Fields”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
| path | Path | None | no | None | — | Optional certificate file path; mutually exclusive with in-memory data. |
| data | SecretStr | None | no | None | — | Optional secret in-memory PEM certificate; mutually exclusive with path and excluded from representations and public error text. |
Version 0.2.0 · branch main
