PasswordPolicyArgs

data class PasswordPolicyArgs(val hardExpiry: Output<Boolean>? = null, val maxLoginAttemps: Output<Int>? = null, val maxPasswordAge: Output<Int>? = null, val minimumPasswordDifferentCharacter: Output<Int>? = null, val minimumPasswordLength: Output<Int>? = null, val passwordNotContainUserName: Output<Boolean>? = null, val passwordReusePrevention: Output<Int>? = null, val requireLowercaseCharacters: Output<Boolean>? = null, val requireNumbers: Output<Boolean>? = null, val requireSymbols: Output<Boolean>? = null, val requireUppercaseCharacters: Output<Boolean>? = null) : ConvertibleToJava<PasswordPolicyArgs>

Import

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

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

Constructors

Link copied to clipboard
constructor(hardExpiry: Output<Boolean>? = null, maxLoginAttemps: Output<Int>? = null, maxPasswordAge: Output<Int>? = null, minimumPasswordDifferentCharacter: Output<Int>? = null, minimumPasswordLength: Output<Int>? = null, passwordNotContainUserName: Output<Boolean>? = null, passwordReusePrevention: Output<Int>? = null, requireLowercaseCharacters: Output<Boolean>? = null, requireNumbers: Output<Boolean>? = null, requireSymbols: Output<Boolean>? = null, requireUppercaseCharacters: Output<Boolean>? = null)

Properties

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

Whether to restrict logon after the password expires. Value:

Link copied to clipboard
val maxLoginAttemps: Output<Int>? = null

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>? = null

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
val minimumPasswordLength: Output<Int>? = null

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

Link copied to clipboard
val passwordNotContainUserName: Output<Boolean>? = null

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

Link copied to clipboard
val passwordReusePrevention: Output<Int>? = null

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 requireLowercaseCharacters: Output<Boolean>? = null

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

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

Specifies whether the password must contain digits. Valid values:

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

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

Link copied to clipboard
val requireUppercaseCharacters: Output<Boolean>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): PasswordPolicyArgs