Skip to content

Commit

Permalink
Merge pull request #67 from Maltronic/patch-1
Browse files Browse the repository at this point in the history
Doc - move security details to parameters.yml.dist
  • Loading branch information
slashfan committed May 14, 2015
2 parents eff5755 + 1214b74 commit b184fed
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,19 @@ Configure the SSH keys path in your `config.yml` :

``` yaml
lexik_jwt_authentication:
private_key_path: %kernel.root_dir%/var/jwt/private.pem # ssh private key path
public_key_path: %kernel.root_dir%/var/jwt/public.pem # ssh public key path
pass_phrase: '' # ssh key pass phrase
token_ttl: 86400 # token ttl - defaults to 86400
private_key_path: %jwt_private_key_path%
public_key_path: %jwt_public_key_path%
pass_phrase: %jwt_key_pass_phrase%
token_ttl: %jwt_token_ttl%
```
Configure your `parameters.yml.dist` :

``` yaml
jwt_private_key_path: %kernel.root_dir%/var/jwt/private.pem # ssh private key path
jwt_public_key_path: %kernel.root_dir%/var/jwt/public.pem # ssh public key path
jwt_key_pass_phrase: '' # ssh key pass phrase
jwt_token_ttl: 86400
```

Confgure your `security.yml` :
Expand Down

0 comments on commit b184fed

Please sign in to comment.