Yet another tweak
This commit is contained in:
parent
d3d9774eaf
commit
e5bec0b980
|
@ -118,7 +118,7 @@ node.max_local_storage_nodes: 3
|
||||||
|
|
||||||
If you want to run your users' passwords against some validation, you can specify the necessary regex in this file. You can also include an error message that loads if any passwords don't pass validation. The following example demonstrates how to include a regex so OpenSearch requires new passwords to be a minimum of eight characters with at least one uppercase, one lowercase, one digit, and one special character.
|
If you want to run your users' passwords against some validation, you can specify the necessary regex in this file. You can also include an error message that loads if any passwords don't pass validation. The following example demonstrates how to include a regex so OpenSearch requires new passwords to be a minimum of eight characters with at least one uppercase, one lowercase, one digit, and one special character.
|
||||||
|
|
||||||
Note that OpenSearch only validates users and passwords created through OpenSearch Dashboards or the REST API.
|
Note that OpenSearch validates only users and passwords created through OpenSearch Dashboards or the REST API.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
plugins.restapi.password_validation_regex: '(?=.*[A-Z])(?=.*[^a-zA-Z\d])(?=.*[0-9])(?=.*[a-z]).{8,}'
|
plugins.restapi.password_validation_regex: '(?=.*[A-Z])(?=.*[^a-zA-Z\d])(?=.*[0-9])(?=.*[a-z]).{8,}'
|
||||||
|
|
Loading…
Reference in New Issue