| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | [[cluster-nodes-reload-secure-settings]]== Nodes Reload Secure SettingsThe cluster nodes reload secure settings API is used to re-read thelocal node's encrypted keystore. Specifically, it will prompt the keystoredecryption and reading across the cluster. The keystore's plain content isused to reinitialize all compatible plugins. A compatible plugin can bereinitialized without restarting the node. The operation iscomplete when all compatible plugins have finished reinitializing. Subsequently,the keystore is closed and any changes to it will not be reflected on the node.[source,js]--------------------------------------------------POST _nodes/reload_secure_settingsPOST _nodes/nodeId1,nodeId2/reload_secure_settings--------------------------------------------------// CONSOLE// TEST[setup:node]// TEST[s/nodeId1,nodeId2/*/]The first command reloads the keystore on each node. The seconds allowsto selectively target `nodeId1` and `nodeId2`. The node selection options aredetailed <<cluster-nodes,here>>.Note: It is an error if secure settings are inconsistent across the clusternodes, yet this consistency is not enforced whatsoever. Hence, reloading specificnodes is not standard. It is only justifiable when retrying failed reload operations.[float][[rest-reload-secure-settings]]==== REST Reload Secure Settings ResponseThe response contains the `nodes` object, which is a map, keyed by thenode id. Each value has the node `name` and an optional `reload_exception`field. The `reload_exception` field is a serialization of the exceptionthat was thrown during the reload process, if any.[source,js]--------------------------------------------------{  "_nodes": {    "total": 1,    "successful": 1,    "failed": 0  },  "cluster_name": "my_cluster",  "nodes": {    "pQHNt5rXTTWNvUgOrdynKg": {      "name": "node-0"    }  }}--------------------------------------------------// TESTRESPONSE[s/"my_cluster"/$body.cluster_name/]// TESTRESPONSE[s/"pQHNt5rXTTWNvUgOrdynKg"/\$node_name/]
 |