PasswordValidationPolicyArgs

data class PasswordValidationPolicyArgs(val complexity: Output<PasswordValidationPolicyComplexity>? = null, val disallowUsernameSubstring: Output<Boolean>? = null, val enablePasswordPolicy: Output<Boolean>? = null, val minLength: Output<Int>? = null, val passwordChangeInterval: Output<String>? = null, val reuseInterval: Output<Int>? = null) : ConvertibleToJava<PasswordValidationPolicyArgs>

Database instance local user password validation policy

Constructors

Link copied to clipboard
fun PasswordValidationPolicyArgs(complexity: Output<PasswordValidationPolicyComplexity>? = null, disallowUsernameSubstring: Output<Boolean>? = null, enablePasswordPolicy: Output<Boolean>? = null, minLength: Output<Int>? = null, passwordChangeInterval: Output<String>? = null, reuseInterval: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard

The complexity of the password.

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

Disallow username as a part of the password.

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

Whether the password policy is enabled or not.

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

Minimum number of characters allowed.

Link copied to clipboard
val passwordChangeInterval: Output<String>? = null

Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.

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

Number of previous passwords that cannot be reused.