@tikoci/centrs
    Preparing search index...

    Interface EncryptCdbOptions

    interface EncryptCdbOptions {
        cdbFile?: string;
        cdbPassword?: string;
        config?: Record<string, string | undefined>;
        env?: Record<string, string | undefined>;
        lock?: WinBoxCdbLockOptions;
        skipBackup?: boolean;
    }

    Hierarchy (View Summary)

    Index
    cdbFile?: string
    cdbPassword?: string
    config?: Record<string, string | undefined>

    The centrs.env config tier (src/resolver/config-file.ts). Only CENTRS_CDB_FILE reads it — CENTRS_CDB_PASSWORD deliberately never does, same reasoning as CENTRS_USERNAME/CENTRS_PASSWORD in resolver/target.ts's resolveAuth.

    env?: Record<string, string | undefined>

    CDB lock wait options (tests shorten the timeout).

    skipBackup?: boolean

    Skip the plaintext pre-conversion snapshot. Existing backups are still retained untouched; without the snapshot a forgotten password is final.