Difference between revisions of "AWS SelfManageCredentials"

From wikieduonline
Jump to navigation Jump to search
Line 53: Line 53:
 
* AllowManageOwnAccessKeys
 
* AllowManageOwnAccessKeys
 
* [[IAMSelfManageServiceSpecificCredentials]]
 
* [[IAMSelfManageServiceSpecificCredentials]]
 +
* <code>[[iam:CreateAccessKey]]</code>
  
 
== See also ==
 
== See also ==
 
* {{aws iam}}
 
* {{aws iam}}

Revision as of 15:00, 2 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: