blob: 818ce2b9d8c2041f9b1c6bbd352486e8d2e08328 [file] [log] [blame]
Dariusz Lukszaebab92a2014-09-10 11:14:19 +02001= SwitchSecureStore
2
3== NAME
4SwitchSecureStore - Changes the currently used SecureStore implementation
5
6== SYNOPSIS
Michael Ochmanna8434612016-07-08 10:58:27 +02007[verse]
Dariusz Lukszaebab92a2014-09-10 11:14:19 +02008--
Michael Ochmanna8434612016-07-08 10:58:27 +02009_java_ -jar gerrit.war _SwitchSecureStore_
Kaushik Lingarkare46048c2023-01-13 08:55:12 -080010 [--new-secure-store-lib=<PATH_TO_JAR>]
Dariusz Lukszaebab92a2014-09-10 11:14:19 +020011--
12
13== DESCRIPTION
14Changes the SecureStore implementation used by Gerrit. It migrates all data
15stored in the old implementation, removes the old implementation jar file
16from `$site_path/lib` and puts the new one there. As a final step
17the link:config-gerrit.html#gerrit.secureStoreClass[gerrit.secureStoreClass]
18property of `gerrit.config` will be updated.
19
20All dependencies not provided by Gerrit should be put the in `$site_path/lib`
21directory manually, before running the `SwitchSecureStore` program.
22
23After this operation there is no automatic way back the to standard Gerrit no-op
24secure store implementation, however there is a manual procedure:
25* stop Gerrit,
26* remove SecureStore jar file from `$site_path/lib`,
27* put plain text passwords into `$site_path/etc/secure.conf` file,
28* start Gerrit.
29
30== OPTIONS
31
32--new-secure-store-lib::
33 Path to jar file with new SecureStore implementation. Jar dependencies must be
34 put in `$site_path/lib` directory.
35
36GERRIT
37------
38Part of link:index.html[Gerrit Code Review]
39
40SEARCHBOX
41---------