aws iam update-account-password-policy
Updates the password policy settings for the Amazon Web Services account. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--allow-users-to-change-passwordAllows all IAM users in your account to use the Amazon Web Services Management Console to change their own passwords.--hard-expiryPrevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a new console password after their password has expired.--max-password-ageThe number of days that an IAM user password is valid.--minimum-password-lengthThe minimum number of characters allowed in an IAM user password.--password-reuse-preventionSpecifies the number of previous passwords that IAM users are prevented from reusing.--require-lowercase-charactersSpecifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).--require-numbersSpecifies whether IAM user passwords must contain at least one numeric character (0 to 9).--require-symbolsSpecifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters: !--require-uppercase-charactersSpecifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).