secure-yaml-config
v0.0.6
Published
YAML based configuration file management with support for public key encryption for values
Downloads
21
Readme
Secure YAML Config
YAML configuration manager that allows encrypted values using public key encryption.
Usage
development:
username: john
password: whatever
production:
username: john
password: decrypt(zzzzzzzzzzzzzzz)var manager = require('secure-yaml-config');
var config = manager.getConfig({
publicKeyFile: 'public_key',
configFile: 'config.yml',
env: 'development'
});
service.connect(config.username, config.password);