Included comments at the top of all template files indicating that they are managed by Ansible and should not be edited manually. This ensures clarity and avoids unintended manual modifications.
11 lines
481 B
YAML
11 lines
481 B
YAML
# this file is managed by ansible. Do not edit it by hand
|
|
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)%'
|