gitlab-ctl reconfigure command logs secrets in plain text

I have configured gitlab with external postgres and redis using omnnibus installer. when I run gitlab-ctl reconfigure, it prints passwords of external postgres and redis in plain texts, which is not acceptable from a security point of view.

Is there way we can configure gitlab to not print passwords in plain text.

Gitlab version - 13.8.1

Update (2022-03-02)

ALL secrets that are being logged in clear (that we can find) are being addressed within this issue.

Edited by Dmytro Makovey