How do I generate a secret key (application key) with Play Framework 2.6?
By Alvin Alexander. Last updated: April 4 2018
Play Framework FAQ: How do I generate a secret key (application key) with Play Framework 2.6?
Answer: Use the playGenerateSecret
command in the SBT shell. Here’s an example:
$ sbt [Scrupal6] $ playGenerateSecret [info] Generated new secret: TozWYjreCna1QlVBGqfK4D/C6wZyQOm9gm<9;D_KO@]n [success] Total time: 0 s, completed Apr 4, 2018 2:21:57 PM