Cody Blog

AWS IAM 修改使用者帳號密碼

在 User Group 加上以下的 Inline Policy :

{
    "Version": "2012-10-17",
    "Statement": {
        "Effect": "Allow",
        "Action": [
        "iam:ChangePassword",
        "iam:GetAccountPasswordPolicy"
        ],
        "Resource": "*"
    }
}

inline policy

Reference: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html

AWS

Related Posts

Comments