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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Simple vault that allows encrypting and decrypting files based on an encryption key and a mac from environment variables.
Author: Fabrizio Branca
rt VAULT_ENCRYPTION_KEY=<INSERT_YOUR_ENCRYPTION_KEY>
rt VAULT_MAC_KEY=<INSERT_YOU_MAC_KEY>
see https://github.com/archwisp/PHPEncryptData
t:encrypt <plainTextFilePath> <encryptedFilePath>
t:decrypt [--force] <encryptedFilePath> <plainTextFilePath>
Example
inText = \Vault\Vault::open('vault/config.yml.encrypted');
fig = \Symfony\Component\Yaml\Yaml::parse($plainText);
nd check out \Vault\Vault's other methods...