from dataclasses import dataclass from datetime import datetime @dataclass class CertInfo: domain_name: str fingerprint: str expires_at: datetime path_to_key: str @dataclass class DSMInfo: certificate_name: str private_key_path: str certificate_pem_path: str private_key_pem_path: str