Skip to main content

SEED_KOPIA_PASSWORD_ENV

Constant SEED_KOPIA_PASSWORD_ENV 

Source
pub const SEED_KOPIA_PASSWORD_ENV: &str = "KOPIUR_SEED_KOPIA_PASSWORD";
Expand description

Env var carrying the seed SOURCE repository’s encryption password into a seeding bootstrap mover, the mirror image of DEST_KOPIA_PASSWORD_ENV.

Migrate mode only. A blob-mode seed (kopia repository sync-to) copies storage verbatim and the copy therefore keeps the mirror’s format and password — there is exactly one password in play, the local repository’s own KOPIA_PASSWORD, and this var is unset. Migrate mode reads two genuinely different repositories, so the source’s password must arrive under a name that cannot be mistaken for the destination’s.

Deliberately NOT {SEED_ENV_PREFIX}KOPIA_PASSWORD by mechanical prefixing: like KOPIUR_DEST_KOPIA_PASSWORD, the controller delivers it as a single valueFrom.secretKeyRef built from the RESOLVED source credentials (which may be a projected copy under a different Secret name), not via an envFrom prefix remap.