secure-yaml-config

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

Secure YAML Config

YAML configuration manager that allows encrypted values using public key encryption.

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);