Skip to content

Commit c04839e

Browse files
committed
[DOCS] Removes redundant file realm settings (#30192)
1 parent 440ac34 commit c04839e

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

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

+1-26
Original file line numberDiff line numberDiff line change
@@ -57,32 +57,7 @@ xpack:
5757
[[file-realm-settings]]
5858
===== File Realm Settings
5959

60-
[cols="4,^3,10"]
61-
|=======================
62-
| Setting | Required | Description
63-
| `type` | yes | Indicates the realm type. Must be set to `file`.
64-
| `order` | no | Indicates the priority of this realm within the
65-
realm chain. Realms with a lower order are
66-
consulted first. Although not required, we
67-
recommend explicitly setting this value when you
68-
configure multiple realms. Defaults to
69-
`Integer.MAX_VALUE`.
70-
| `enabled` | no | Indicates whether this realm is enabled or
71-
disabled. Enables you to disable a realm without
72-
removing its configuration. Defaults to `true`.
73-
| `cache.ttl` | no | Specifies the time-to-live for cached user entries.
74-
A user's credentials are cached for this period of
75-
time. Specify the time period using the standard
76-
Elasticsearch {ref}/common-options.html#time-units[time units].
77-
Defaults to `20m`.
78-
| `cache.max_users` | no | Specifies the maximum number of user entries that
79-
can be stored in the cache at one time. Defaults
80-
to 100,000.
81-
| `cache.hash_algo` | no | Specifies the hashing algorithm that is used for
82-
the cached user credentials. See <<cache-hash-algo,
83-
Cache hash algorithms>> for the possible values.
84-
(Expert Setting).
85-
|=======================
60+
See {ref}/security-settings.html#ref-users-settings[File Realm Settings].
8661

8762
==== A Look Under the Hood
8863

x-pack/docs/en/settings/security-settings.asciidoc

+4
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ in-memory cached user credentials. For possible values, see
173173
[float]
174174
===== File realm settings
175175

176+
The `type` setting must be set to `file`. In addition to the
177+
<<ref-realm-settings,settings that are valid for all realms>>, you can specify
178+
the following settings:
179+
176180
`cache.ttl`::
177181
The time-to-live for cached user entries. A user and a hash of its credentials
178182
are cached for this configured period of time. Defaults to `20m`. Specify values

0 commit comments

Comments
 (0)