Difference between revisions of "AWS SelfManageCredentials"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
                 "iam:CreateAccessKey",
 
                 "iam:CreateAccessKey",
 
                 "iam:DeleteAccessKey",
 
                 "iam:DeleteAccessKey",
                 "iam:ListAccessKeys",
+
                 "[[iam:ListAccessKeys]]",
 
                 "iam:UpdateAccessKey"
 
                 "iam:UpdateAccessKey"
 
             ],
 
             ],

Revision as of 10:30, 5 May 2022

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "AllowViewAccountInfo",
            "Effect": "Allow",
            "Action": [
                "iam:GetAccountPasswordPolicy",
                "iam:GetAccountSummary"
            ],
            "Resource": "*"
        },
        {
            "Sid": "AllowManageOwnPasswords",
            "Effect": "Allow",
            "Action": [
                "iam:ChangePassword",
                "iam:GetUser"
            ],
            "Resource": "arn:aws:iam::*:user/${aws:username}"
        },
        {
            "Sid": "AllowManageOwnAccessKeys",
            "Effect": "Allow",
            "Action": [
                "iam:CreateAccessKey",
                "iam:DeleteAccessKey",
                "iam:ListAccessKeys",
                "iam:UpdateAccessKey"
            ],
            "Resource": "arn:aws:iam::*:user/${aws:username}"
        },
        {
            "Sid": "AllowManageOwnSSHPublicKeys",
            "Effect": "Allow",
            "Action": [
                "iam:DeleteSSHPublicKey",
                "iam:GetSSHPublicKey",
                "iam:ListSSHPublicKeys",
                "iam:UpdateSSHPublicKey",
                "iam:UploadSSHPublicKey"
            ],
            "Resource": "arn:aws:iam::*:user/${aws:username}"
        }
    ]
}


Related

See also

Advertising: