Difference between revisions of "Iam:ChangePassword (Policy)"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
  
  
*<code>iam:ChangePassword</code>
+
*<code>[[iam]]:ChangePassword</code>
  
 
==Examples==
 
==Examples==

Revision as of 08:50, 24 August 2021

Either user is not authorized to perform iam:ChangePassword or entered password does not comply with account password policy set by administrator


  • iam:ChangePassword

Examples

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "iam:GetAccountPasswordPolicy",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "iam:ChangePassword",
      "Resource": "arn:aws:iam::account-id-without-hyphens:user/${aws:username}"
    }
  ]
}

See also

Advertising: