SecurityConfig / IamPasswordPolicyConfig

IAM password policy configuration

Example

iamPasswordPolicy:
allowUsersToChangePassword: true
hardExpiry: false
requireUppercaseCharacters: true
requireLowercaseCharacters: true
requireSymbols: true
requireNumbers: true
minimumPasswordLength: 14
passwordReusePrevention: 24
maxPasswordAge: 90

Hierarchy

  • IamPasswordPolicyConfig

Implements

Constructors

Properties

allowUsersToChangePassword: true = true

Allows all IAM users in your account to use the AWS Management Console to change their own passwords.

Default

true

hardExpiry: false = false

Prevents IAM users who are accessing the account via the AWS Management Console from setting a new console password after their password has expired. The IAM user cannot access the console until an administrator resets the password.

Default

true

maxPasswordAge: 90 = 90

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

Note: If you do not specify a value for this parameter, then the operation uses the default value of 0. The result is that IAM user passwords never expire.

Default

90

minimumPasswordLength: 14 = 14

The minimum number of characters allowed in an IAM user password.

Note: If you do not specify a value for this parameter, then the operation uses the default value of 6.

Default

14

passwordReusePrevention: 24 = 24

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

Note: If you do not specify a value for this parameter, then the operation uses the default value of 0. The result is that IAM users are not prevented from reusing previous passwords.

Default

24

requireLowercaseCharacters: true = true

Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).

Note: If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one lowercase character.

Default

true

requireNumbers: true = true

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

Note: If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one numeric character.

Default

true

requireSymbols: true = true

Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:

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

Note: If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one symbol character.

Default

true

requireUppercaseCharacters: true = true

Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).

Note: If you do not specify a value for this parameter, then the operation uses the default value of false. The result is that passwords do not require at least one uppercase character.

Default

true

Generated using TypeDoc