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
ServiceSecurityshape: a transport name and optional client certificate files. Used to configureconnect()programmatically when no configuration file is present.For
mtls, provide at most one ofcert_filesorcerts_dir. Providing neither is valid and lets the underlying transport layer resolve its own defaults, mirroring the version 2 configuration file’scertificate_files/certificates_directoryoptions.Methods
Attributes