certwrangler.state_managers.dummy module#

class certwrangler.state_managers.dummy.DummyStateManager(*, driver: ~typing.Literal['dummy'], encryption_keys: ~typing.List[~typing.Annotated[~cryptography.fernet.Fernet, ~pydantic.functional_validators.BeforeValidator(func=~certwrangler.types.<lambda>, json_schema_input_type=PydanticUndefined), ~pydantic.json_schema.WithJsonSchema(json_schema={'type': 'string'}, mode=None)]] = <factory>)[source]#

Bases: StateManager

Dummy state manager driver. Mostly used for testing.

driver: Literal['dummy']#
initialize() None[source]#

No-op initialization, just log we were here.

list() Dict[str, Dict[str, Any]][source]#

No-op list, just log we were here and return an empty dict.

save(entity: Account | Cert, encrypt: bool = True) None[source]#

No-op save, just log we were here.

load(entity: Account | Cert) None[source]#

No-op load, just log we were here.

delete(entity_class: Literal['account', 'cert'], entity_name: str) None[source]#

No-op delete, just log we were here.

model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].