@giancarl021/cli-core-vault-extension
Version:
Plain and secure storage extension for the @giancarl021/cli-core npm package
28 lines (25 loc) • 506 B
JavaScript
import { homedir, tmpdir } from 'node:os';
/**
* Application constants.
*/
var constants = {
workspace: {
defaultKey: 'default',
dataPath: 'data.json',
secretPath: 'secrets.enc'
},
filesystemSecretStorage: {
algorithm: 'aes-256-gcm',
keyLength: 32,
ivLength: 12,
tagLength: 16,
sizeLength: 16
},
temp: {
root: tmpdir()
},
data: {
rootPrefix: homedir()
}
};
export { constants as default };