New symfony secret key:
kaxu112nk5f2658bxe19yx3jtkf7ugds
One of the first things you do when creating a new Symfony project is setting your "secret". This secret string is 32 random characters that is used for CSRF protection.
On load this page generates a string consisting of 32 random hex characters. Feel free to load it whenever you need a new secret key.
From the Symfony docs:
type: string
required
This is a string that should be unique to your application and it's commonly used to add more entropy to security related operations. Its value should be a series of characters, numbers and symbols chosen randomly and the recommended length is around 32 characters.
In practice, Symfony uses this value for encrypting the cookies used in the remember me functionality and for creating signed URIs when using ESI (Edge Side Includes).
This option becomes the service container parameter named kernel.secret
,
which you can use whenever the application needs an immutable random string
to add more entropy.
As with any other security-related parameter, it is a good practice to change this value from time to time. However, keep in mind that changing this value will invalidate all signed URIs and Remember Me cookies. That's why, after changing this value, you should regenerate the application cache and log out all the application users.