forked from api-platform/api-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue is that JWT keys cannot be store on the filesystem. Proposal is to read them from ENV.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
lexik_jwt_authentication: | ||
secret_key: '%env(resolve:JWT_SECRET_KEY)%' | ||
public_key: '%env(resolve:JWT_PUBLIC_KEY)%' | ||
secret_key: '%env(base64:JWT_PRIVATE_KEY)%' | ||
public_key: '%env(base64:JWT_PUBLIC_KEY)%' | ||
pass_phrase: '%env(JWT_PASSPHRASE)%' |