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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 23: Line 23:
 
   ]
 
   ]
 
}</pre>
 
}</pre>
 +
 +
== Related ==
 +
* <code>[[aws iam change-password]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 11:34, 21 October 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}"
    }
  ]
}

Related

See also

Advertising: