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 1: Line 1:
  
<code>Either user is not authorized to perform iam:ChangePassword or entered password does not comply with account password policy set by administrator</code>
+
<code>Either user is not authorized to perform iam:ChangePassword or entered password does not comply with account password [[policy]] set by administrator</code>
  
 
*Solution: remove [[MFA]] https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords
 
*Solution: remove [[MFA]] https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords

Revision as of 08:49, 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: