3.1.2 • Published 5 years ago

egg-plugin-config-encryption v3.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

egg-egg-plugin-config-encryption

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-egg-plugin-config-encryption --save

Usage

// {app_root}/config/plugin.js
exports.eggPluginConfigEncryption = {
  enable: true,
  package: 'egg-egg-plugin-config-encryption',
};

Configuration

// {app_root}/config/config.default.js
exports.secretKeyPath = '/Users/apple/Node/secret_key.txt';

exports.dump.ignore = new Set(['password', ...]);

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago