ConnectionSecurity#

class ansys.platform.instancemanagement.ConnectionSecurity(transport: str = 'insecure', cert_files: CertificateFiles | None = None, certs_dir: str | None = None)#

Security settings for the client’s connection to the PIM server.

Mirrors the instance-service ServiceSecurity shape: a transport name and optional client certificate files. Used to configure connect() programmatically when no configuration file is present.

For mtls, provide at most one of cert_files or certs_dir. Providing neither is valid and lets the underlying transport layer resolve its own defaults, mirroring the version 2 configuration file’s certificate_files / certificates_directory options.

Methods

Attributes