@naturalcycles/nodejs-lib
Version:
Standard library for Node.js
13 lines (12 loc) • 410 B
TypeScript
export interface DecryptCLIOptions {
dir: string[];
file?: string;
encKey: string;
del?: boolean;
jsonMode?: boolean;
}
/**
* Decrypts all files in given directory (*.enc), saves decrypted versions without ending `.enc`.
* Using provided encKey.
*/
export declare function secretsDecrypt(dir: string[], file: string | undefined, encKey: string, del?: boolean, jsonMode?: boolean): void;