View Source mix phx.gen.secret (Phoenix v1.7.14)
Generates a secret and prints it to the terminal.
$ mix phx.gen.secret [length]
By default, mix phx.gen.secret generates a key 64 characters long.
The minimum value for length
is 32.
Generates a secret and prints it to the terminal.
$ mix phx.gen.secret [length]
By default, mix phx.gen.secret generates a key 64 characters long.
The minimum value for length
is 32.