PasswordPolicy

class oci.identity.models.PasswordPolicy(**kwargs)

Bases: object

Password policy, currently set for the given compartment.

Methods

__init__(**kwargs) Initializes a new PasswordPolicy object with values from keyword arguments.

Attributes

is_lowercase_characters_required Gets the is_lowercase_characters_required of this PasswordPolicy.
is_numeric_characters_required Gets the is_numeric_characters_required of this PasswordPolicy.
is_special_characters_required Gets the is_special_characters_required of this PasswordPolicy.
is_uppercase_characters_required Gets the is_uppercase_characters_required of this PasswordPolicy.
is_username_containment_allowed Gets the is_username_containment_allowed of this PasswordPolicy.
minimum_password_length Gets the minimum_password_length of this PasswordPolicy.
__init__(**kwargs)

Initializes a new PasswordPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • minimum_password_length (int) – The value to assign to the minimum_password_length property of this PasswordPolicy.
  • is_uppercase_characters_required (bool) – The value to assign to the is_uppercase_characters_required property of this PasswordPolicy.
  • is_lowercase_characters_required (bool) – The value to assign to the is_lowercase_characters_required property of this PasswordPolicy.
  • is_numeric_characters_required (bool) – The value to assign to the is_numeric_characters_required property of this PasswordPolicy.
  • is_special_characters_required (bool) – The value to assign to the is_special_characters_required property of this PasswordPolicy.
  • is_username_containment_allowed (bool) – The value to assign to the is_username_containment_allowed property of this PasswordPolicy.
is_lowercase_characters_required

Gets the is_lowercase_characters_required of this PasswordPolicy. At least one lower case character required.

Returns:The is_lowercase_characters_required of this PasswordPolicy.
Return type:bool
is_numeric_characters_required

Gets the is_numeric_characters_required of this PasswordPolicy. At least one numeric character required.

Returns:The is_numeric_characters_required of this PasswordPolicy.
Return type:bool
is_special_characters_required

Gets the is_special_characters_required of this PasswordPolicy. At least one special character required.

Returns:The is_special_characters_required of this PasswordPolicy.
Return type:bool
is_uppercase_characters_required

Gets the is_uppercase_characters_required of this PasswordPolicy. At least one uppercase character required.

Returns:The is_uppercase_characters_required of this PasswordPolicy.
Return type:bool
is_username_containment_allowed

Gets the is_username_containment_allowed of this PasswordPolicy. User name is allowed to be part of the password.

Returns:The is_username_containment_allowed of this PasswordPolicy.
Return type:bool
minimum_password_length

Gets the minimum_password_length of this PasswordPolicy. Minimum password length required.

Returns:The minimum_password_length of this PasswordPolicy.
Return type:int