Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 1234

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To set or change the current account password policy**

The following ``update-account-password-policy`` command sets the password policy to require a minimum length of eight
characters and to require one or more numbers in the password::

    aws iam update-account-password-policy --minimum-password-length 8 --require-numbers

Changes to an account's password policy affect any new passwords that are created for IAM users in the account. Password
policy changes do not affect existing passwords.

For more information, see `Setting an Account Password Policy for IAM Users`_ in the *Using IAM* guide.

.. _`Setting an Account Password Policy for IAM Users`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html