• 
      

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

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

    Information

    Review Board
    release-4.0.x

    Reviewers

    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 ID
    Allow a secret key to be provided with rb-site install --secret-key.
    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.
    4a12140db4653f91e6fbe5852081ea776407ce4a
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.0.x (ff7b334)