Feature: adapt skeleton for wopi / jwt and secret/public keys in base64 format in production
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-01-13 13:31:11 +01:00
parent 99ec0b765f
commit 4157b4bb21
3 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
lexik_jwt_authentication:
# in production, the secret must be located in an environment variable
# for converting the file to a raw variable, use this command:
#
# cat path/to/private_or_public.pem | base64 -w0
#
# then copy past the printed string into the dedicated environment variable
secret_key: '%env(base64:resolve:JWT_SECRET_KEY)%'
public_key: '%env(base64:resolve:JWT_PUBLIC_KEY)%'
pass_phrase: '%env(JWT_PASSPHRASE)%'