Symfony2 - where are all the places where the 'secret' key (parameters.yml) is used?

user2143356

I need to be 100% on exactly how many places the secret key is used in Symfony2.

This may be an obvious question, such as 'wherever you specify it with %secret% in the Yaml file', but I need to be 100% sure it's not being used by the internal Symfony code somewhere.

(1) Is it used at all with the database? I see it's in parameters.yml and underneath the DB settings, but I can't see how it can be used by the DB. I'm using Doctrine2.

(2) I can think of all these places, are there any more?

  • anywhere it is called in PHP with getParameter('param_name');
  • anywhere using %secret% in a Yaml file
  • especially likely to be used in security.yml to generate a cookie for the remember_me login option

Have I missed any?

rpg600

1) basically it's only used to generate CSRF token

2) The parameter's name is kernel.secret

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Using Optional Parameters in where clause in symfony2

From Dev

Where are all the disks used?

From Dev

Where should I place the secret key in Flask?

From Dev

What is the SECRET parameter in Symfony2 used for?

From Dev

Where are all the places where an environment variable can be set in linux?

From Dev

Where are all the places where an environment variable can be set in linux?

From Dev

Where to keep a GPG secret key for Jenkins running on Windows?

From Dev

Where do I get a SECRET_KEY for Flask?

From Dev

Where can I find the access key secret for the HERE API?

From Dev

where can I create Facebook application secret key?

From Dev

Where is the secret python logfile?

From Dev

Where to deploy symfony2 application

From Dev

Symfony2 Where to save Environment Variables

From Dev

symfony2 where to store reusable bundle

From Dev

Where to deploy symfony2 application

From Dev

where to run symfony2 debug commands?

From Dev

Where the mail is addressed within Symfony2?

From Dev

Find where all locations where a constant is used in eclipse?

From Dev

Find where all locations where a constant is used in eclipse?

From Dev

Symfony2 get parameters.yml in entity, special case

From Dev

Symfony2: how to read parameters array in config.yml

From Dev

PHPUnit symfony2 faking parameters.yml

From Dev

A parameters.yml per bundle, symfony2

From Dev

PHPUnit symfony2 faking parameters.yml

From Dev

Number index in parameters.yml corrupted Symfony2

From Dev

Symfony2 - Purpose of `anonymous.key` in security.yml

From Dev

Can SSL key pair only be used on host where key was generated?

From Dev

PowerShell Azure AD B2C Identity Experience Framework policy key where name & secret are input params

From Dev

HMAC / Javascript - where to store the secret?

Related Related

  1. 1

    Using Optional Parameters in where clause in symfony2

  2. 2

    Where are all the disks used?

  3. 3

    Where should I place the secret key in Flask?

  4. 4

    What is the SECRET parameter in Symfony2 used for?

  5. 5

    Where are all the places where an environment variable can be set in linux?

  6. 6

    Where are all the places where an environment variable can be set in linux?

  7. 7

    Where to keep a GPG secret key for Jenkins running on Windows?

  8. 8

    Where do I get a SECRET_KEY for Flask?

  9. 9

    Where can I find the access key secret for the HERE API?

  10. 10

    where can I create Facebook application secret key?

  11. 11

    Where is the secret python logfile?

  12. 12

    Where to deploy symfony2 application

  13. 13

    Symfony2 Where to save Environment Variables

  14. 14

    symfony2 where to store reusable bundle

  15. 15

    Where to deploy symfony2 application

  16. 16

    where to run symfony2 debug commands?

  17. 17

    Where the mail is addressed within Symfony2?

  18. 18

    Find where all locations where a constant is used in eclipse?

  19. 19

    Find where all locations where a constant is used in eclipse?

  20. 20

    Symfony2 get parameters.yml in entity, special case

  21. 21

    Symfony2: how to read parameters array in config.yml

  22. 22

    PHPUnit symfony2 faking parameters.yml

  23. 23

    A parameters.yml per bundle, symfony2

  24. 24

    PHPUnit symfony2 faking parameters.yml

  25. 25

    Number index in parameters.yml corrupted Symfony2

  26. 26

    Symfony2 - Purpose of `anonymous.key` in security.yml

  27. 27

    Can SSL key pair only be used on host where key was generated?

  28. 28

    PowerShell Azure AD B2C Identity Experience Framework policy key where name & secret are input params

  29. 29

    HMAC / Javascript - where to store the secret?

HotTag

Archive