secure-yaml-config

0.0.6 • Public • Published

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

/secure-yaml-config/

    Package Sidebar

    Install

    npm i secure-yaml-config

    Weekly Downloads

    1

    Version

    0.0.6

    License

    MIT

    Last publish

    Collaborators

    • deanmao