docs/doc/source/security/openstack/update-keystone-service-bb6a67e18d36.rst
Elisamara Aoki Goncalves f06744915d Created section Update Keystone Service (pick r6)
Added new section with procedure to strengthen Horizon password.

Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com>
Change-Id: I7feaa1bbd17c17d90b3d5daa80de2f8651e004bf
2022-04-12 14:22:58 -03:00

1.3 KiB

Update Keystone Service

The Keystone service can be configured to use customized regular expressions for password validation. For more information, see the keystone documentation: Configuring password strength requirements.

The steps below can be used as a reference to update the Keystone service via helm-override to customize the password validation regular expression and description.

Create the override file and update the keystone service.

  1. Create the yaml override with the following contents:

    conf:
        keystone:
            security_compliance:
                password_regex: ^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()<>{}+=_\\\[\]\-?|~`,.;:]).{12,}$
                password_regex_description: Password must have a minimum length of 12 characters, and must contain at least 1 upper case, 1 lower case, 1 digit, and 1 special character
  2. Apply the override:

    system helm-override-update -openstack keystone openstack --reuse-values --values keystone-password-override.yaml