aeat.adapters.persistence.storage.blob_store package¶
Blob-store substrate for classification-gated encrypted blobs.
Public surface for the content-addressed EncryptedBlobStore and its
typed BlobReference / BlobManifest handles. Blob layout is
classification-driven: only SensitivityClass.CORPUS payloads are stored as
plaintext corpus blobs; every other class is ciphertext with a per-blob wrapped
data-encryption key.
This package also exposes the path-shaped secret bridge used by SDKs that
cannot consume in-memory bytes. materialise_secret() and
export_to_temp_path() read encrypted records through
adapters.persistence.storage.secret_store.SecretStore, write a
short-lived private tempfile, and leave cleanup ownership explicit. Domain
repositories and calculation sources should depend on higher-level secure-object
or repository APIs, not on blob paths directly.