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

PasswordPolicy

import type { PasswordPolicy } from "https://aws-api.deno.dev/v0.4/services/iam.ts?docs=full";

Contains information about the account password policy.

This data type is used as a response element in the "GetAccountPasswordPolicy" operation.

interface PasswordPolicy {
AllowUsersToChangePassword?: boolean | null;
ExpirePasswords?: boolean | null;
HardExpiry?: boolean | null;
MaxPasswordAge?: number | null;
MinimumPasswordLength?: number | null;
PasswordReusePrevention?: number | null;
RequireLowercaseCharacters?: boolean | null;
RequireNumbers?: boolean | null;
RequireSymbols?: boolean | null;
RequireUppercaseCharacters?: boolean | null;
}

§Properties

§
AllowUsersToChangePassword?: boolean | null
[src]

Specifies whether IAM users are allowed to change their own password. Gives IAM users permissions to iam:ChangePassword for only their user and to the iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each user, rather the permissions are applied at the account-level for all users by IAM.

§
ExpirePasswords?: boolean | null
[src]

Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a value greater than 0. Returns false if MaxPasswordAge is 0 or not present.

§
HardExpiry?: boolean | null
[src]

Specifies whether IAM users are prevented from setting a new password via the Amazon Web Services Management Console after their password has expired. The IAM user cannot access the console until an administrator resets the password. IAM users with iam:ChangePassword permission and active access keys can reset their own expired console password using the CLI or API.

§
MaxPasswordAge?: number | null
[src]

The number of days that an IAM user password is valid.

§
MinimumPasswordLength?: number | null
[src]

Minimum length to require for IAM user passwords.

§
PasswordReusePrevention?: number | null
[src]

Specifies the number of previous passwords that IAM users are prevented from reusing.

§
RequireLowercaseCharacters?: boolean | null
[src]

Specifies whether IAM user passwords must contain at least one lowercase character (a to z).

§
RequireNumbers?: boolean | null
[src]

Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).

§
RequireSymbols?: boolean | null
[src]

Specifies whether IAM user passwords must contain at least one of the following symbols:

! @ # $ % ^ & * ( ) _ + - = [ ] { } | '

§
RequireUppercaseCharacters?: boolean | null
[src]

Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).