UNPKG

@giancarl021/cli-core-vault-extension

Version:

Plain and secure storage extension for the @giancarl021/cli-core npm package

9 lines (8 loc) 472 B
import type { SecretEntryFactory } from '../interfaces/SecretEntry.js'; /** * Build a SecretEntryFactory that creates SecretEntry instances using filesystem storage. * @param filePath The path to the file where secrets will be stored. * @param encryptionKey The encryption key used to encrypt/decrypt the secrets. * @returns A SecretEntryFactory function. */ export default function FSEntryFactoryBuilder(filePath: string, encryptionKey: string): SecretEntryFactory;