You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/infrastructure_and_maintenance/security/development_security.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,17 +146,16 @@ security:
146
146
stateless: true
147
147
```
148
148
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:
150
150
151
151
```bash
152
152
php bin/console lexik:jwt:generate-keypair
153
153
```
154
154
155
-
The generated key pair will be stored in `config/jwt`
155
+
The generated key pair will be stored in the `config/jwt`directory.
156
156
157
157
!!! note "[[= product_name_cloud =]]"
158
158
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