HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/awscli/examples/iam/get-account-password-policy.rst
**To see the current account password policy**

The following ``get-account-password-policy`` command displays details about the password policy for the current account::

    aws iam get-account-password-policy

Output::

  {
      "PasswordPolicy": {
          "AllowUsersToChangePassword": false,
          "RequireLowercaseCharacters": false,
          "RequireUppercaseCharacters": false,
          "MinimumPasswordLength": 8,
          "RequireNumbers": true,
          "RequireSymbols": true
      }
  }

If no password policy is defined for the account, the command returns a ``NoSuchEntity`` error.

For more information, see `Managing an IAM Password Policy`_ in the *Using IAM* guide.

.. _`Managing an IAM Password Policy`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html