Skip to main content

DEST_KOPIA_PASSWORD_ENV

Constant DEST_KOPIA_PASSWORD_ENV 

Source
pub const DEST_KOPIA_PASSWORD_ENV: &str = "KOPIUR_DEST_KOPIA_PASSWORD";
Expand description

Env var carrying the destination repository’s encryption password (KOPIA_PASSWORD) into a snapshot-replication mover. The source password rides the plain KOPIA_PASSWORD (persisted into the source kopia config at connect), so the destination’s must arrive under a distinct name — the mover reads this and re-exports it as KOPIA_PASSWORD for the destination client only. Deliberately NOT {DEST_ENV_PREFIX}KOPIA_PASSWORD mechanical prefixing: the controller delivers it as a single valueFrom.secretKeyRef env var built from the RESOLVED destination credentials (which may be a projected copy with a different Secret name), not via an envFrom prefix remap.