Bases: tuple
Alias for field number 0
Alias for field number 1
Generate a random password suitable for a Keystone User.
Generate a random password.
The password will be of the specified length, and comprised of characters
from the specified character classes, which can be generated using the
named_char_class()
and special_char_class()
functions. Where
a minimum count is specified in the character class, at least that number
of characters in the resulting password are guaranteed to be from that
character class.
length – The length of the password to generate, in characters
char_classes – Iterable over classes of characters from which to generate a password
Return a predefined character class.
The result of this function can be passed to generate_password()
as
one of the character classes to use in generating a password.
char_class – Any of the character classes named in
CHARACTER_CLASSES
min_count – The minimum number of members of this class to appear in a generated password
Return a character class containing custom characters.
The result of this function can be passed to generate_password()
as
one of the character classes to use in generating a password.
allowed_chars – Iterable of the characters in the character class
min_count – The minimum number of members of this class to appear in a generated password
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.