mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-28 09:23:30 +08:00
Add dev secret vault
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>
This commit is contained in:
parent
e59dcff91b
commit
643bdfd23c
5 changed files with 13 additions and 16 deletions
15
.env
15
.env
|
@ -14,7 +14,6 @@
|
|||
|
||||
###> symfony/framework-bundle ###
|
||||
APP_ENV=dev
|
||||
APP_SECRET=8d05fae29eaeeda1edf6008093f395b4
|
||||
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||
#TRUSTED_HOSTS='^localhost|example\.com$'
|
||||
###< symfony/framework-bundle ###
|
||||
|
@ -22,17 +21,3 @@ APP_SECRET=8d05fae29eaeeda1edf6008093f395b4
|
|||
###> nelmio/cors-bundle ###
|
||||
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
|
||||
###< nelmio/cors-bundle ###
|
||||
|
||||
###> doctrine/doctrine-bundle ###
|
||||
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
|
||||
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
|
||||
# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11&charset=utf8"
|
||||
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
|
||||
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7
|
||||
###< doctrine/doctrine-bundle ###
|
||||
|
||||
###> lexik/jwt-authentication-bundle ###
|
||||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
|
||||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
|
||||
JWT_PASSPHRASE=30e1f97a4a670a03fb98ecab5c3e4265
|
||||
###< lexik/jwt-authentication-bundle ###
|
||||
|
|
3
config/secrets/dev/dev.APP_SECRET.1cf811.php
Normal file
3
config/secrets/dev/dev.APP_SECRET.1cf811.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php // dev.APP_SECRET.1cf811 on Mon, 09 Nov 2020 09:27:22 +0000
|
||||
|
||||
return "\xBBA\xAFZD\xF2\x89\xE2\x89\xAB\xD2\xF7\x86\x1C\xFDk\x0A5\xF7\xB3\xCFn\xA8\x3EF\x89e2A\xAEV\x7C-Z\x8D\x00v\xDDw\xB7d\x3A\xC1\xCE\x3A\x04\x5DS\x01\x1F\xCB\xA6\x2F\x83\xA3c\xC5\xD7\xE6q\x5C\x83\xE1A";
|
3
config/secrets/dev/dev.DATABASE_URL.8ea85a.php
Normal file
3
config/secrets/dev/dev.DATABASE_URL.8ea85a.php
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php // dev.DATABASE_URL.8ea85a on Mon, 09 Nov 2020 10:13:55 +0000
|
||||
|
||||
return "\x90\x98\xBA\x5C\xC0\x11\xD0\xF9\xB7\xB0\xB0\x3A\x7Fi\x93n\xD0\x90\x11eqx\xC0\x05\x82R\xB1\xCDJ\xCB\x20\x22\xC6\x05\x19\x90b\xB5\x06\xABq\x5B\xF4\xDA\x26\xEF\x29\x0Fn\x12\xCEx3\x93\x899\xEEk\xF1\xC4\xCB\xB3\xB4A\xCB\x9C\x29\xAB\xB5\x81i\x9D\xFAoq\xC1V\xC0\x9D\xD9s\x10\xD7\x04\x3C\xF9YF\xC7\x24\xF6\xEC\x7F\xA6\xAE\x3F\x2C\x84\xCC\x21\xE8X\x27\xBB\x2F\xA6d\xD0k\x03\xE0hs8\xC7\x8A";
|
6
config/secrets/dev/dev.list.php
Normal file
6
config/secrets/dev/dev.list.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
return array (
|
||||
'APP_SECRET' => NULL,
|
||||
'DATABASE_URL' => NULL,
|
||||
);
|
|
@ -2,7 +2,7 @@ framework:
|
|||
secret: "%secret%"
|
||||
|
||||
parameters:
|
||||
secret: ThisTokenIsNotSoSecretChangeIt
|
||||
secret: '%env(APP_SECRET)%'
|
||||
legacy.dir: '%kernel.project_dir%/legacy'
|
||||
legacy.path: '/legacy'
|
||||
legacy.session_name: 'LEGACYSESSID'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue