class documentation

class ClientConfigTLS: (source)

View In Hierarchy

TLS configuration as specified as part of client configuration

Warning

Experimental API.

Static Method from_dict Create a ClientConfigTLS from a dictionary.
Method to_connect_tls_config Create a temporalio.service.TLSConfig from this profile.
Method to_dict Convert to a dictionary that can be used for TOML serialization.
Class Variable client_cert Client certificate source.
Class Variable client_private_key Client key source.
Class Variable disabled If true, TLS is explicitly disabled.
Class Variable server_name SNI override.
Class Variable server_root_ca_cert Server CA certificate source.

Create a ClientConfigTLS from a dictionary.

def to_connect_tls_config(self) -> bool | temporalio.service.TLSConfig: (source)

Create a temporalio.service.TLSConfig from this profile.

def to_dict(self) -> ClientConfigTLSDict: (source)

Convert to a dictionary that can be used for TOML serialization.

Client certificate source.

client_private_key: DataSource | None = (source)

Client key source.

disabled: bool = (source)

If true, TLS is explicitly disabled.

server_name: str | None = (source)

SNI override.

server_root_ca_cert: DataSource | None = (source)

Server CA certificate source.