Merge pull request #248

This commit is contained in:
symfony-flex-server[bot]
2018-01-13 18:42:01 +00:00
committed by GitHub
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,3 @@
ywh_doctrine_encryption:
password: '%env(ENCRYPTION_PASSWORD)%'
key: '%env(ENCRYPTION_KEY)%'
@@ -0,0 +1,14 @@
{
"bundles": {
"YWH\\DoctrineEncryptionBundle\\YWHDoctrineEncryptionBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "Generate a password. You can use the following command: openssl rand -base64 32",
"#2": "Generate a key using generate-defuse-key script: vendor/bin/generate-defuse-key",
"ENCRYPTION_PASSWORD": "password",
"ENCRYPTION_KEY": "defuse-key"
}
}