Add a method to re-use meta data from stx repo
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / python / files / python-keystone / stx-files / password-rules.conf
1
2 # The password rules captures the [security_compliance]
3 # section of the generic Keystone configuration (keystone.conf)
4 # This configuration is used to statically define the password
5 # rules for password validation in pre-Keystone environments
6 #
7 # N.B: Only set non-default keys here (default commented configuration
8 # items not needed)
9
10 [security_compliance]
11
12 #
13 # From keystone
14 #
15
16 # This controls the number of previous user password iterations to keep in
17 # history, in order to enforce that newly created passwords are unique. Setting
18 # the value to one (the default) disables this feature. Thus, to enable this
19 # feature, values must be greater than 1. This feature depends on the `sql`
20 # backend for the `[identity] driver`. (integer value)
21 # Minimum value: 1
22 unique_last_password_count = 2
23
24 # The regular expression used to validate password strength requirements. By
25 # default, the regular expression will match any password. The following is an
26 # example of a pattern which requires at least 1 letter, 1 digit, and have a
27 # minimum length of 7 characters: ^(?=.*\d)(?=.*[a-zA-Z]).{7,}$ This feature
28 # depends on the `sql` backend for the `[identity] driver`. (string value)
29 password_regex = ^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()<>{}+=_\\\[\]\-?|~`,.;:]).{7,}$
30
31 # Describe your password regular expression here in language for humans. If a
32 # password fails to match the regular expression, the contents of this
33 # configuration variable will be returned to users to explain why their
34 # requested password was insufficient. (string value)
35 password_regex_description = Password must have a minimum length of 7 characters, and must contain at least 1 upper case, 1 lower case, 1 digit, and 1 special character