🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

secure-yaml-config

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-yaml-config

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

latest
npmnpm
Version
0.0.6
Version published
Weekly downloads
1
-97.3%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 23 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts