Skip to content

Commit 253fa8d

Browse files
committed
Add docs on upgrading the keystore (#46331)
This commit adds a note to the docs regarding upgrading the keystore.
1 parent bb01934 commit 253fa8d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/reference/setup/secure-settings.asciidoc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,23 @@ To remove a setting from the keystore, use the `remove` command:
9191
bin/elasticsearch-keystore remove the.setting.name.to.remove
9292
----------------------------------------------------------------
9393

94+
[float]
95+
[[keystore-upgrade]]
96+
=== Upgrading the keystore
97+
98+
Occasionally, the internal format of the keystore changes. When Elasticsearch is
99+
installed from a package manager, an upgrade of the on-disk keystore to the new
100+
format is done during package upgrade. In other cases, Elasticsearch will
101+
perform such an upgrade during node startup. This requires that Elasticsearch
102+
have write permissions to the directory that contains the keystore.
103+
Alternatively, you can manually perform such an upgrade by using the `upgrade`
104+
command:
105+
106+
[source,sh]
107+
----------------------------------------------------------------
108+
bin/elasticsearch-keystore upgrade
109+
----------------------------------------------------------------
110+
94111
[float]
95112
[[reloadable-secure-settings]]
96113
=== Reloadable secure settings

0 commit comments

Comments
 (0)