Skip to content

Commit 1a047a1

Browse files
committed
[DOCS] Merges duplicate pages for native realms (elastic#49198)
1 parent b10b136 commit 1a047a1

File tree

11 files changed

+21
-29
lines changed

11 files changed

+21
-29
lines changed

docs/reference/redirects.asciidoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,3 +906,13 @@ See <<docker-cli-run-dev-mode>>.
906906

907907
See <<analysis-dict-decomp-tokenfilter>> and
908908
<<analysis-hyp-decomp-tokenfilter>>.
909+
910+
[role="exclude",id="configuring-native-realm"]
911+
=== Configuring a native realm
912+
913+
See <<native-realm-configuration>>.
914+
915+
[role="exclude",id="native-settings"]
916+
==== Native realm settings
917+
918+
See <<ref-native-settings>>.

x-pack/docs/en/rest-api/security/change-password.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ You can use the <<security-api-put-user,create user API>> to update everything
2828
but a user's `username` and `password`. This API changes a user's password.
2929

3030
For more information about the native realm, see
31-
<<realms>> and <<configuring-native-realm>>.
31+
<<realms>> and <<native-realm>>.
3232

3333

3434
[[security-api-change-password-path-params]]

x-pack/docs/en/rest-api/security/clear-roles-cache.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ privilege.
2222
==== {api-description-title}
2323

2424
For more information about the native realm, see
25-
<<realms>> and <<configuring-native-realm>>.
25+
<<realms>> and <<native-realm>>.
2626

2727
[[security-api-clear-role-cache-path-params]]
2828
==== {api-path-parms-title}

x-pack/docs/en/rest-api/security/create-users.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To change a user's password, use the
3131
<<security-api-change-password, change password API>>.
3232

3333
For more information about the native realm, see
34-
<<realms>> and <<configuring-native-realm>>.
34+
<<realms>> and <<native-realm>>.
3535

3636
[[security-api-put-user-path-params]]
3737
==== {api-path-parms-title}

x-pack/docs/en/rest-api/security/delete-users.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Deletes users from the native realm.
2121
==== {api-description-title}
2222

2323
For more information about the native realm, see
24-
<<realms>> and <<configuring-native-realm>>.
24+
<<realms>> and <<native-realm>>.
2525

2626
[[security-api-delete-user-path-params]]
2727
==== {api-path-parms-title}

x-pack/docs/en/rest-api/security/disable-users.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ revoke a user's access to {es}. To re-enable a user, there is an
2727
<<security-api-enable-user,enable users API>>.
2828

2929
For more information about the native realm, see
30-
<<realms>> and <<configuring-native-realm>>.
30+
<<realms>> and <<native-realm>>.
3131

3232
[[security-api-disable-user-path-params]]
3333
==== {api-path-parms-title}

x-pack/docs/en/rest-api/security/enable-users.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ By default, when you create users, they are enabled. You can use this enable
2626
users API and the <<security-api-disable-user,disable users API>> to change that attribute.
2727

2828
For more information about the native realm, see
29-
<<realms>> and <<configuring-native-realm>>.
29+
<<realms>> and <<native-realm>>.
3030

3131
[[security-api-enable-user-path-params]]
3232
==== {api-path-parms-title}

x-pack/docs/en/rest-api/security/get-users.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Retrieves information about users in the native realm and built-in users.
2525
==== {api-description-title}
2626

2727
For more information about the native realm, see
28-
<<realms>> and <<configuring-native-realm>>.
28+
<<realms>> and <<native-realm>>.
2929

3030
[[security-api-get-user-path-params]]
3131
==== {api-path-parms-title}

x-pack/docs/en/security/authentication/configuring-native-realm.asciidoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
[role="xpack"]
2-
[[configuring-native-realm]]
3-
=== Configuring a native realm
4-
5-
The easiest way to manage and authenticate users is with the internal `native`
6-
realm.
7-
81
The native realm is available by default when no other realms are
92
configured. If other realm settings have been configured in `elasticsearch.yml`,
103
you must add the native realm to the realm chain.
@@ -45,6 +38,3 @@ hash algorithm. To use different hash algorithms, see <<hashing-settings>>.
4538

4639
. Restart {es}.
4740

48-
. Manage your users in {kib} on the *Management / Security / Users* page.
49-
Alternatively, use the <<security-api-users,User Management APIs>>.
50-

x-pack/docs/en/security/authentication/native-realm.asciidoc

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ realm. You can use the REST APIs or Kibana to add and remove users, assign user
77
roles, and manage user passwords.
88

99
[[native-realm-configuration]]
10-
[float]
1110
==== Configuring a native realm
1211

13-
See {ref}/configuring-native-realm.html[Configuring a native realm].
14-
15-
[[native-settings]]
16-
==== Native realm settings
17-
18-
See {ref}/security-settings.html#ref-native-settings[Native realm settings].
12+
include::configuring-native-realm.asciidoc[]
1913

2014
[[managing-native-users]]
2115
==== Managing native users
@@ -24,9 +18,8 @@ The {stack} {security-features} enable you to easily manage users in {kib} on th
2418
*Management / Security / Users* page.
2519

2620
Alternatively, you can manage users through the `user` API. For more
27-
information and examples, see
28-
{ref}/security-api.html#security-user-apis[user management APIs].
21+
information and examples, see <<security-user-apis>>.
2922

3023
[[migrating-from-file]]
3124
NOTE: To migrate file-based users to the `native` realm, use the
32-
{ref}/migrate-tool.html[migrate tool].
25+
<<migrate-tool,migrate tool>>.

0 commit comments

Comments
 (0)