PasswordPolicy

class PasswordPolicy : KotlinCustomResource

Import

RAM Password Policy can be imported using the id, e.g.

$ pulumi import alicloud:ram/passwordPolicy:PasswordPolicy example <id>.

Properties

Link copied to clipboard
val hardExpiry: Output<Boolean>?

Whether to restrict logon after the password expires. Value:

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val maxLoginAttemps: Output<Int>?

Password retry constraint. After entering the wrong password continuously for the set number of times, the account will be locked for one hour. Value range: 0~32. Default value: 0, which means that the password retry constraint is not enabled.

Link copied to clipboard
val maxPasswordAge: Output<Int>?

Password validity period. Value range: 0~1095. Unit: days. Default value: 0, which means never expires.

Link copied to clipboard

The minimum number of unique characters in the password. Valid values: 0 to 8. The default value is 0, which indicates that no limits are imposed on the number of unique characters in a password.

Link copied to clipboard

The minimum number of characters in the password. Valid values: 8 to 32. Default value: 8.

Link copied to clipboard

Whether the user name is not allowed in the password. Value:

Link copied to clipboard

Historical password check policy. Do not use the previous N Passwords. The value range of N is 0 to 24. Default value: 0, indicating that the historical password check policy is not enabled.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies whether the password must contain lowercase letters. Valid values:

Link copied to clipboard
val requireNumbers: Output<Boolean>?

Specifies whether the password must contain digits. Valid values:

Link copied to clipboard
val requireSymbols: Output<Boolean>?

Specifies whether the password must contain special characters. Valid values:

Link copied to clipboard

Specifies whether the password must contain uppercase letters. Valid values:

Link copied to clipboard
val urn: Output<String>