AOEpeople/Vault

Name: Vault

Owner: AOE

Description: null

Created: 2015-11-21 01:05:14.0

Updated: 2016-04-01 22:13:59.0

Pushed: 2016-06-30 21:56:56.0

Homepage: null

Size: 5

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Vault

Simple vault that allows encrypting and decrypting files based on an encryption key and a mac from environment variables.

Author: Fabrizio Branca

Configuration
rt VAULT_ENCRYPTION_KEY=<INSERT_YOUR_ENCRYPTION_KEY>
rt VAULT_MAC_KEY=<INSERT_YOU_MAC_KEY>
Key Generation

see https://github.com/archwisp/PHPEncryptData

Commands
t:encrypt <plainTextFilePath> <encryptedFilePath>
t:decrypt [--force] <encryptedFilePath> <plainTextFilePath>
PHP

Example

inText = \Vault\Vault::open('vault/config.yml.encrypted');
fig = \Symfony\Component\Yaml\Yaml::parse($plainText);
nd check out \Vault\Vault's other methods...

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.