Skip to content

Store

lacme.store

Certificate and account key storage.

Provides a :class:Store protocol and two implementations: :class:FileStore (filesystem-backed) and :class:MemoryStore (in-memory, for tests).

FileStore

Filesystem-backed certificate and account key storage.

Directory layout::

{base}/
    account.key          (PEM, 0o600)
    certs/
        {domain}/
            cert.pem     (leaf, 0o644)
            fullchain.pem (0o644)
            key.pem      (private key, 0o600)
            meta.json    (0o644)
base property
base: Path

The resolved base directory path.

MemoryStore

In-memory store for testing. No filesystem access.

Store

Bases: Protocol

Abstract storage interface for ACME account keys and certificates.