0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IAMユーザが自身のPWを変更する為に必要な権限を教えて下さい

Posted at

困っていた内容

IAMユーザがマネジメントコンソールより自身のパスワードを変更しようとした所
出来なかった。IAMユーザにはIAMUserChangePasswordというAWS管理のポリシーを付与している。

どう対応すればいいの?

先ずはIAM ⇒ アカウント設定よりユーザーにパスワードの変更が許可されているか確認

2025-04-04_17h11_35.png

対象のIAMユーザーに以下のポリシーをアタッチ

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "iam:ChangePassword",
                "iam:GetLoginProfile",
                "iam:UpdateLoginProfile"
            ],
            "Resource": [
                "arn:aws:iam::*:user/${aws:username}"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "iam:GetAccountPasswordPolicy"
            ],
            "Resource": "*"
        }
    ]
}

上記ポリシーアタッチ後に問題無くPWの変更が可能となりました!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?