node-file-vault

0.0.3 • Public • Published

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>

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node-file-vault

    Weekly Downloads

    210

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • ristinolla