aoepeople/vault
There is no license information available for the latest version (1.0.3) of this package.
Vault
Maintainers
1.0.3
2016-04-01 22:13 UTC
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Unknown License b1619506428d29f1b0f204018230552a6ec98d78
- Fabrizio Branca <firstname.lastname.woop@aoe.com>
This package is not auto-updated.
Last update: 2026-06-21 05:31:16 UTC
README
Simple vault that allows encrypting and decrypting files based on an encryption key and a mac from environment variables.
Author: Fabrizio Branca
Configuration
export VAULT_ENCRYPTION_KEY=<INSERT_YOUR_ENCRYPTION_KEY>
export VAULT_MAC_KEY=<INSERT_YOU_MAC_KEY>
Key Generation
see https://github.com/archwisp/PHPEncryptData
Commands
vault:encrypt <plainTextFilePath> <encryptedFilePath>
vault:decrypt [--force] <encryptedFilePath> <plainTextFilePath>
PHP
Example
$plainText = \Vault\Vault::open('vault/config.yml.encrypted');
$config = \Symfony\Component\Yaml\Yaml::parse($plainText);
// and check out \Vault\Vault's other methods...
