Add docs on upgrading the keystore (#46331)

This commit adds a note to the docs regarding upgrading the keystore.
This commit is contained in:
Jason Tedor 2019-09-05 14:40:38 -04:00
parent e078d62247
commit af1516a377
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
1 changed files with 17 additions and 0 deletions

View File

@ -91,6 +91,23 @@ To remove a setting from the keystore, use the `remove` command:
bin/elasticsearch-keystore remove the.setting.name.to.remove
----------------------------------------------------------------
[float]
[[keystore-upgrade]]
=== Upgrading the keystore
Occasionally, the internal format of the keystore changes. When Elasticsearch is
installed from a package manager, an upgrade of the on-disk keystore to the new
format is done during package upgrade. In other cases, Elasticsearch will
perform such an upgrade during node startup. This requires that Elasticsearch
have write permissions to the directory that contains the keystore.
Alternatively, you can manually perform such an upgrade by using the `upgrade`
command:
[source,sh]
----------------------------------------------------------------
bin/elasticsearch-keystore upgrade
----------------------------------------------------------------
[float]
[[reloadable-secure-settings]]
=== Reloadable secure settings