yr.config.UserTLSConfig

yr.config.UserTLSConfig#

class yr.config.UserTLSConfig(root_cert_path: str, module_cert_path: str, module_key_path: str, server_name: str | None = None)#

基类:object

用户在与外部集群通信时使用的 SSL/TLS 配置。

属性

server_name

服务器名称,默认值为 None

root_cert_path

根证书文件的路径。

module_cert_path

模块证书文件的路径。

module_key_path

模块密钥文件的路径。

方法