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