ocsprest.config

Config

Module Contents

Classes

RESTConfig

Config for for the wrapper REST api

class RESTConfig[source]

Bases: pydantic_settings.BaseSettings

Config for for the wrapper REST api

port: int[source]
addr: str[source]
cfssl: pathlib.Path[source]
data_path: pathlib.Path[source]
cacrt: pathlib.Path[source]
cakey: pathlib.Path[source]
rootcacrt: pathlib.Path[source]
rootcakey: pathlib.Path[source]
conf: pathlib.Path[source]
dbconf: pathlib.Path[source]
respcrt: pathlib.Path[source]
respkey: pathlib.Path[source]
crl: pathlib.Path[source]
crl_lifetime: str[source]
ocsp_lifetime: str[source]
crl_refresh: int[source]
ci: bool[source]
model_config[source]
_singleton: ClassVar[RESTConfig | None][source]
classmethod singleton()[source]

Return singleton

Return type:

RESTConfig