PasswordValidationPolicy
import type { PasswordValidationPolicy } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";Database instance local user password validation policy. This message defines the password policy for local database users. When enabled, it enforces constraints on password complexity, length, and reuse. Keep this policy enabled to help prevent unauthorized access.
interface PasswordValidationPolicy {
complexity?: "COMPLEXITY_UNSPECIFIED" | "COMPLEXITY_DEFAULT";
disallowCompromisedCredentials?: boolean;
disallowUsernameSubstring?: boolean;
enablePasswordPolicy?: boolean;
minLength?: number;
passwordChangeInterval?: number;
reuseInterval?: number;
}§Properties
§
disallowCompromisedCredentials?: boolean
[src]This field is deprecated and will be removed in a future version of the API.
§
enablePasswordPolicy?: boolean
[src]Whether to enable the password policy or not. When enabled, passwords must meet complexity requirements. Keep this policy enabled to help prevent unauthorized access. Disabling this policy allows weak passwords.