cadrumo.adapters.persistence.storage.certificate_secret_backend module¶
Concrete adapter for the application certificate-secret capability.
This module owns the encrypted secret-store record and its persistence errors.
The application-facing contract receives only SecretStr values, absence,
and non-secret mutation witnesses; storage records never cross that boundary.
Core types:
SensitivityClass.
- class SecureStorageCertificateSecretBackend(*, bucket_id, store)[source]¶
Bases:
objectPersist named certificate passphrases through encrypted secure storage.
- Parameters:
bucket_id (str)
store (SecretStore)
- set(name, secret, *, operation_id=None, occurred_at=None)[source]¶
Persist (or rotate) the passphrase for
name.