AND
activator play-generate-secret
and
activator play-update-secret
works well for activator.
You can find their definition here in the sources . And, as you can see, they are part of Play, not Activator.
val generateSecret = TaskKey[String]("play-generate-secret", "Generate a new application secret", KeyRanks.BTask) val updateSecret = TaskKey[File]("play-update-secret", "Update the application conf to generate an application secret", KeyRanks.BTask)
source share