passwd - Set or reset password in secure.config.
java -jar gerrit.war passwd -d <SITE_PATH> <SECTION.KEY> [PASSWORD]
Set or reset password in an existing Gerrit server installation, interactively prompting for a new password or using the one provided in the command line argument.
Location of the
gerrit.configfile, and all other per-site configuration data, supporting libraries and log files.
Section and key in the
secure.configfile for setting or editing the password value.
New password to set in
secure.configassociated to the section and key. When specified as argument, automatically implies batch mode and the command would not ask anything interactively.
This utility is typically useful when a secure store is configured to encrypt password values and thus editing the file manually is not an option.
Part of Gerrit Code Review