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

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
 
  
 
* https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords
 
* https://serverfault.com/questions/992027/aws-iam-wont-let-my-users-change-their-passwords
 +
*<code>iam:ChangePassword</code>
  
 +
==Examples==
 +
<pre>{
 +
  "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}"
 +
    }
 +
  ]
 +
}</pre>
  
 
== See also ==
 
== See also ==

Revision as of 14:50, 2 August 2021

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: