node-yaml-vault

Encrypts and decrypts yaml files

Usage no npm install needed!

<script type="module">
  import nodeYamlVault from 'https://cdn.skypack.dev/node-yaml-vault';
</script>

README

node-yaml-vault

Inspired by yaml-vault

Installation

$ npm i -g node-yaml-vault

Usage

test.yml

redis:
  environment:
    REDIS_PASS: secret_pass

command

$ node-yaml-vault encrypt -f test.yml -k ^.*?\\.environment -p password

output

redis:
  environment:
    REDIS_PASS: d860d4f47437b38e5beb8c

The same for decryption. Type node-yaml-vault --help for more information.