Skip to content

Commit 8306f98

Browse files
Update deploy-manage/users-roles/cluster-or-deployment-auth/pki.md
Co-authored-by: shainaraskas <[email protected]>
1 parent c717dcc commit 8306f98

File tree

1 file changed

+1
-1
lines changed
  • deploy-manage/users-roles/cluster-or-deployment-auth

1 file changed

+1
-1
lines changed

deploy-manage/users-roles/cluster-or-deployment-auth/pki.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To use PKI in {{es}}, you configure a PKI realm, enable client authentication on
4444
When you configure realms in `elasticsearch.yml`, only the realms you specify are used for authentication. If you also want to use the `native` or `file` realms, you must include them in the realm chain.
4545
::::
4646

47-
2. Optional: The username is defined by the [username_pattern](https://docs-v3-preview.elastic.dev/elastic/elasticsearch/tree/main/reference/elasticsearch/configuration-reference/security-settings#ref-pki-settings). If you want to use something other than the CN of the Subject DN as the username, you can use one of the following methods to extract the username:
47+
2. Optional: If you want to use something other than the CN of the Subject DN as the username, you can use one of the following methods to extract the username:
4848

4949
* {applies_to}`stack: ga 9.1` Extract the username from a specific RDN attribute in the Subject DN.
5050
* Using the [[username_pattern](elasticsearch://reference/elasticsearch/configuration-reference/security-settings.md#ref-pki-settings) setting, specify a regex to extract the desired username. The regex is applied on the Subject DN.

0 commit comments

Comments
 (0)