bookclerk_library::secret_account_type

Development These docs follow the development version and change with every merge.

Last updated View as Markdown

Ownership namespace for encrypted_secrets.account_type.

Rows tagged integration are store or portal credentials tied to a user account; they are purged when that account is revoked. Rows tagged operator are destination / control-plane secrets (e.g. S3 keys) that outlive any individual store account and must never be touched by delete_secrets_for_account.

Item Kind Summary
INTEGRATION constant Store / portal integration accounts (Audible, Libro, Chirp, GA, Widevine).
OPERATOR constant Operator-owned destination / control-plane secrets (S3, …).
USER constant First-party user secrets (TOTP), purged when that user is deleted.
PLUGIN_INSTANCE constant Secrets owned by one crate::control_plane::PluginInstanceId.

Constants

INTEGRATION

pub const INTEGRATION: &str = "integration";

Store / portal integration accounts (Audible, Libro, Chirp, GA, Widevine).

OPERATOR

pub const OPERATOR: &str = "operator";

Operator-owned destination / control-plane secrets (S3, …).

USER

pub const USER: &str = "user";

First-party user secrets (TOTP), purged when that user is deleted.

PLUGIN_INSTANCE

pub const PLUGIN_INSTANCE: &str = "plugin_instance";

Secrets owned by one crate::control_plane::PluginInstanceId.

Not purged with store accounts. account_id is the instance id.

Generated from crates/bookclerk-library at main · View as Markdown