secure-yaml-config

YAML based configuration file management with support for public key encryption for values

npm install secure-yaml-config
2 downloads in the last week
37 downloads in the last month

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);
npm loves you