Skip to content

Secret Configuration File - secret.conf#

The secret.conf file contains a secret key that is utilized to define cookies responsible for managing user sessions within TheHive application. It is crucial that one instance of TheHive uses a unique secret key to ensure session security and integrity.

  • Single Instance Deployment: For a single instance of TheHive, ensure that the secret.conf file contains a unique secret key.

  • Clustered Deployment: In the scenario where multiple nodes of TheHive are clustered together, all nodes should have a secret.conf file with the same secret key.

Example

## Example secret key configuration
play.http.secret.key="dgngu325mbnbc39cxas4l5kb24503836y2vsvsg465989fbsvop9d09ds6df6"

 

Warning

Do not copy the key provided above. Instead, generate and use your own unique secret key for enhanced security and confidentiality.