Skip to content

Commit 0ac6df8

Browse files
vidarlmnocon
andauthored
Apply suggestions from code review
Co-authored-by: Marek Nocoń <[email protected]>
1 parent dde274b commit 0ac6df8

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/infrastructure_and_maintenance/security/development_security.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,16 @@ security:
146146
stateless: true
147147
```
148148

149-
In order for the application to be able to generate JWT tokens, a [PEM encoded keyset needs to be generated](https://symfony.com/bundles/LexikJWTAuthenticationBundle/current/index.html#generate-the-ssl-keys) using the command:
149+
Finish the setup by generating a [PEM encoded key pair](https://symfony.com/bundles/LexikJWTAuthenticationBundle/2.x/index.html#generate-the-ssl-keys) by using the command:
150150

151151
```bash
152152
php bin/console lexik:jwt:generate-keypair
153153
```
154154

155-
The generated key pair will be stored in `config/jwt`
155+
The generated key pair will be stored in the `config/jwt`directory.
156156

157157
!!! note "[[= product_name_cloud =]]"
158158

159-
In order to be able to store generate and store the tokens on [[= product_name_cloud =]], you must define `config/jwt`
160-
as a volume in `.platform.app.yaml`. If you have a 3-node-cluster setup, you must ensure the key pair is the same on all
161-
3 servers. Either use a network share for this, or use local mount manually copy the same keu pair
162-
to all servers
159+
To generate and store the tokens on [[= product_name_cloud =]], define the `config/jwt` directory as a volume in the `.platform.app.yaml` file.
160+
In 3-node cluster setups, ensure that the key pair is the same on all 3 servers.
161+
You can use a network share, or use a local mount and manually copy the key pair between the servers.

0 commit comments

Comments
 (0)