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

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
  
 
Solution:
 
Solution:
* Remove [[MFA]] https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords
+
* Remove [[MFA policy]] https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords
  
  

Revision as of 12:44, 1 November 2021

Error:

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

Solution:


  • 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}"
    }
  ]
}

Related

See also

Advertising: