@@ -9,47 +9,12 @@ manage user passwords.
99[float]
1010==== Configuring a native realm
1111
12- The native realm is added to the realm chain by default. You don't need to
13- explicitly configure a native realm to manage users through the REST APIs.
14-
15-
16- IMPORTANT: When you configure realms in `elasticsearch.yml`, only the
17- realms you specify are used for authentication. To use the
18- `native` realm as a fallback, you must include it in the realm chain.
19-
20- You can, however, configure options for the `native` realm in the
21- `xpack.security.authc.realms` namespace in `elasticsearch.yml`. Explicitly
22- configuring a native realm enables you to set the order in which it appears in
23- the realm chain, temporary disable the realm, and control its cache options.
24-
25- To configure a native realm:
26-
27- . Add a realm configuration of type `native` to `elasticsearch.yml` under the
28- `xpack.security.authc.realms` namespace. At a minimum, you must set the realm
29- `type` to `native`. If you are configuring multiple realms, you should also
30- explicitly set the `order` attribute. See <<native-settings, Native Realm Settings>>
31- for all of the options you can set for the `native` realm.
32- +
33- For example, the following snippet shows a `native` realm configuration that
34- sets the `order` to zero so the realm is checked first:
35- +
36- [source, yaml]
37- ------------------------------------------------------------
38- xpack:
39- security:
40- authc:
41- realms:
42- native1:
43- type: native
44- order: 0
45- ------------------------------------------------------------
46-
47- . Restart Elasticsearch.
12+ See {ref}/[Configuring a native realm].
4813
4914[[native-settings]]
5015==== Native realm settings
5116
52- See {ref}/security-settings.html#ref-native-settings[Native Realm Settings ].
17+ See {ref}/security-settings.html#ref-native-settings[Native realm settings ].
5318
5419[[managing-native-users]]
5520==== Managing native users
@@ -58,7 +23,7 @@ See {ref}/security-settings.html#ref-native-settings[Native Realm Settings].
5823*Management / Security / Users* page.
5924
6025Alternatively, you can manage users through the `user` API. For more
61- information and examples, see {ref}/security-api-users.html[User Management APIs].
26+ information and examples, see {ref}/security-api-users.html[User management APIs].
6227
6328[[migrating-from-file]]
6429NOTE: To migrate file-based users to the `native` realm, use the
0 commit comments