ristinolla / node-file-vault

πŸ”‘ Ansible Playbook inspired simple vault for NodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-file-vault

Ansible Playbook inspired simple vault to secure files. Handy for sharing for example environment settings in repository.

Under development still, but works in simple use.

Versions < 1.0.0 are considered as Beta.

How to use

Install

npm node-file-vault install -g

Global is more handy, so you can use it anywhere.

Generate keyfile

Add keyfile called .vault_key to your project file. It is searched from parent directories just like a Gulpfile or a package.json. In this key file just include random key, it is your password to files.

thisshouldbesomewhatlongkeyboardcat

Be sure to gitignore .vault_key!

Encrypt

To encrypt a file type:

vault encrypt <file>

Decrypt

To decrypt encrypted file, be sure that you have the .vault_key file .

vault encrypt <file>

About

πŸ”‘ Ansible Playbook inspired simple vault for NodeJS

License:MIT License


Languages

Language:JavaScript 100.0%