@@ -9,47 +9,12 @@ manage user passwords.
9
9
[float]
10
10
==== Configuring a native realm
11
11
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].
48
13
49
14
[[native-settings]]
50
15
==== Native realm settings
51
16
52
- See {ref}/security-settings.html#ref-native-settings[Native Realm Settings ].
17
+ See {ref}/security-settings.html#ref-native-settings[Native realm settings ].
53
18
54
19
[[managing-native-users]]
55
20
==== Managing native users
@@ -58,7 +23,7 @@ See {ref}/security-settings.html#ref-native-settings[Native Realm Settings].
58
23
*Management / Security / Users* page.
59
24
60
25
Alternatively, 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].
62
27
63
28
[[migrating-from-file]]
64
29
NOTE: To migrate file-based users to the `native` realm, use the
0 commit comments