@aminya/dotenv-vault
Version:
A secrets manager for .env files – from the same people that pioneered dotenv.
20 lines (19 loc) • 476 B
TypeScript
import { DotenvConfigOutput } from 'dotenv';
interface DecryptServiceAttrs {
cmd: any;
dotenvKey: any;
}
type InstructionsType = {
ciphertext: string;
key: string;
};
declare class DecryptService {
cmd: any;
dotenvKey: any;
log: any;
constructor(attrs?: DecryptServiceAttrs);
run(): Promise<void>;
_instructions(result: DotenvConfigOutput, dotenvKey: string): InstructionsType;
get vaultPath(): string;
}
export { DecryptService };