DatabaseInstanceSettingsPasswordValidationPolicy

data class DatabaseInstanceSettingsPasswordValidationPolicy(val complexity: String? = null, val disallowUsernameSubstring: Boolean? = null, val enablePasswordPolicy: Boolean, val minLength: Int? = null, val passwordChangeInterval: String? = null, val reuseInterval: Int? = null)

Constructors

constructor(complexity: String? = null, disallowUsernameSubstring: Boolean? = null, enablePasswordPolicy: Boolean, minLength: Int? = null, passwordChangeInterval: String? = null, reuseInterval: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val complexity: String? = null

Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.

Link copied to clipboard

Prevents the use of the username in the password.

Link copied to clipboard

Enables or disable the password validation policy. The optional replica_configuration block must have master_instance_name set to work, cannot be updated, and supports:

Link copied to clipboard
val minLength: Int? = null

Specifies the minimum number of characters that the password must have.

Link copied to clipboard

Specifies the minimum duration after which you can change the password.

Link copied to clipboard
val reuseInterval: Int? = null

Specifies the number of previous passwords that you can't reuse.