Allow a secret key to be provided with rb-site install --secret-key.
Review Request #11375 — Created Jan. 12, 2021 and submitted
A common issue when running
rb-site installin an automated setup (for
Docker instances or when using a tool like Chef) is that each new
install would get its own
SECRET_KEYsetting, requiring users to
override the resulting file.
To address this, a new
--secret-keyoption has been added, which
allows the caller to provide an explicit key to use. This must be 50
characters or higher (matching what we generate ourselves). If this is
set, it will be used instead of generating a new key.
Tested creating a new site with and without
Tested the character length validation.
Fixed missing references to a moved constant.
Revision 2 (+40 -2)
Checks run (2 succeeded)