Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PasswordValidationPolicy

import type { PasswordValidationPolicy } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";

Database instance local user password validation policy

interface PasswordValidationPolicy {
complexity?: "COMPLEXITY_UNSPECIFIED" | "COMPLEXITY_DEFAULT";
disallowCompromisedCredentials?: boolean;
disallowUsernameSubstring?: boolean;
enablePasswordPolicy?: boolean;
minLength?: number;
passwordChangeInterval?: number;
reuseInterval?: number;
}

§Properties

§
complexity?: "COMPLEXITY_UNSPECIFIED" | "COMPLEXITY_DEFAULT"
[src]

The complexity of the password.

§
disallowCompromisedCredentials?: boolean
[src]

This field is deprecated and will be removed in a future version of the API.

§
disallowUsernameSubstring?: boolean
[src]

Disallow username as a part of the password.

§
enablePasswordPolicy?: boolean
[src]

Whether the password policy is enabled or not.

§
minLength?: number
[src]

Minimum number of characters allowed.

§
passwordChangeInterval?: number
[src]

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

§
reuseInterval?: number
[src]

Number of previous passwords that cannot be reused.