@@ -35,9 +35,9 @@ PUT _snapshot/my_s3_repository
35
35
==== Client Settings
36
36
37
37
The client used to connect to S3 has a number of settings available. Client setting names are of
38
- the form `s3.client.CLIENT_NAME.SETTING_NAME` and specified inside `elasticsearch.yml`. The
39
- default client name looked up by a `s3` repository is called `default`, but can be customized
40
- with the repository setting `client`. For example:
38
+ the form `s3.client.CLIENT_NAME.SETTING_NAME`. The default client name, which is looked up by
39
+ an `s3` repository, is called `default`. It can be modified using the
40
+ <<repository-s3-repository, repository setting>> `client`. For example:
41
41
42
42
[source,js]
43
43
----
@@ -53,17 +53,31 @@ PUT _snapshot/my_s3_repository
53
53
// CONSOLE
54
54
// TEST[skip:we don't have s3 setup while testing this]
55
55
56
- Some settings are sensitive and must be stored in the {ref}/secure-settings.html[elasticsearch keystore].
57
- For example, to use explicit AWS access keys:
56
+ Most client settings are specified inside `elasticsearch.yml`, but some are
57
+ sensitive and must be stored in the {ref}/secure-settings.html[elasticsearch keystore].
58
+
59
+ For example, before you start the node, run these commands to add AWS access
60
+ key settings to the keystore:
58
61
59
62
[source,sh]
60
63
----
61
64
bin/elasticsearch-keystore add s3.client.default.access_key
62
65
bin/elasticsearch-keystore add s3.client.default.secret_key
63
66
----
64
67
65
- The following are the available client settings. Those that must be stored in the keystore
66
- are marked as `Secure`.
68
+ *All* client secure settings of this plugin are
69
+ {ref}/secure-settings.html#reloadable-secure-settings[reloadable]. After you
70
+ reload the settings, the internal `s3` clients, used to transfer the snapshot
71
+ contents, will utilize the latest settings from the keystore. Any existing `s3`
72
+ repositories, as well as any newly created ones, will pick up the new values
73
+ stored in the keystore.
74
+
75
+ NOTE: In progress snapshot/restore tasks will not be preempted by a *reload*
76
+ of the client's secure settings. The task will complete using the client as it
77
+ was built when the operation started.
78
+
79
+ The following is the list of all the available client settings.
80
+ Those that must be stored in the keystore are marked as `Secure` and are *reloadable*.
67
81
68
82
`access_key`::
69
83
0 commit comments