pub struct PreprocessorAgeSection {
pub enabled: bool,
pub extensions: Vec<String>,
pub identity: String,
}Expand description
age whole-file decryption preprocessor settings
(docs/proposals/secrets.lex §4).
Default-disabled so a fresh dodot install never shells out to
age against random files; users opt in by flipping enabled = true in their root .dodot.toml. The identity path defaults to
~/.config/age/identity.txt (the conventional age-keygen
destination); set explicitly when storing keys elsewhere or
rotating identities per-pack.
Fields§
§enabled: boolWhether *.age files are matched and decrypted on dodot up. Default false — opt-in posture mirrors the
[secret.providers.*] blocks.
extensions: Vec<String>File extensions that trigger age decryption. Same shape as
template.extensions; multi-extension config is mostly
useful for users whose conventions diverge (e.g. .age.txt).
identity: StringPath to the age identity file. Empty (the default) defers to
the runtime: $AGE_IDENTITY env var, then
~/.config/age/identity.txt.
Trait Implementations§
Source§impl Clone for PreprocessorAgeSection
impl Clone for PreprocessorAgeSection
Source§fn clone(&self) -> PreprocessorAgeSection
fn clone(&self) -> PreprocessorAgeSection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Config for PreprocessorAgeSection
impl Config for PreprocessorAgeSection
Source§type Layer = PreprocessorAgeSectionLayer
type Layer = PreprocessorAgeSectionLayer
Self (a potentially partial configuration). Read moreSource§fn from_layer(layer: Self::Layer) -> Result<Self, Error>
fn from_layer(layer: Self::Layer) -> Result<Self, Error>
Self from a layer and validates itself. Read moreSource§fn builder() -> Builder<Self>
fn builder() -> Builder<Self>
#[default = ...]) are merged
(with the lowest priority). Read more