A configuration key exists that changes the behavior of the Kelvin REST API: when unset or false the password policy is not applied on new passwords, when true the password must meet the policies requirements.
[twenzel/33_kelvin_password_policies] e842aba7 Bug #55408: disable password policy check in kelvin by default and add option to enable it tests/test_route_user.py::test_user_create_password_policies[True-teacher] PASSED [ 8%] tests/test_route_user.py::test_user_create_password_policies[True-staff] PASSED [ 16%] tests/test_route_user.py::test_user_create_password_policies[True-student] PASSED [ 25%] tests/test_route_user.py::test_user_create_password_policies[True-teacher_and_staff] PASSED [ 33%] tests/test_route_user.py::test_user_create_password_policies[False-teacher] PASSED [ 41%] tests/test_route_user.py::test_user_create_password_policies[False-staff] PASSED [ 50%] tests/test_route_user.py::test_user_create_password_policies[False-student] PASSED [ 58%] tests/test_route_user.py::test_user_create_password_policies[False-teacher_and_staff] PASSED [ 66%] tests/test_route_user.py::test_user_modify_password_policies[patch-True] PASSED [ 75%] tests/test_route_user.py::test_user_modify_password_policies[patch-False] PASSED [ 83%] tests/test_route_user.py::test_user_modify_password_policies[put-True] PASSED [ 91%] tests/test_route_user.py::test_user_modify_password_policies[put-False] PASSED [100%]
as discussed this is merged to main with [main] 094f72ef Bug #55408: Added a configuration option to enable the evaluation of password policies when creating UCS@school users