Allow a secret key to be provided with rb-site install --secret-key.

Review Request #11375 — Created Jan. 12, 2021 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

A common issue when running rb-site install in an automated setup (for
Docker instances or when using a tool like Chef) is that each new
install would get its own SECRET_KEY setting, requiring users to
override the resulting file.

To address this, a new --secret-key option 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 --secret-key.

Tested the character length validation.

Summary
Allow a secret key to be provided with rb-site install --secret-key.
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (ff7b334)
Loading...