diff --git a/Methodology and Resources/Cloud - AWS Pentest.md b/Methodology and Resources/Cloud - AWS Pentest.md index b15d9f0..ea47d1a 100644 --- a/Methodology and Resources/Cloud - AWS Pentest.md +++ b/Methodology and Resources/Cloud - AWS Pentest.md @@ -324,9 +324,12 @@ Example : https://awesomeapp.com/forward?target=http://169.254.169.254/latest/me "Resource": "*" ``` -- ec2:AssociateIamInstanceProfile +- **ec2:AssociateIamInstanceProfile** : attach an IAM instance profile to an EC2 instance + ```powershell + aws ec2 associate-iam-instance-profile --iam-instance-profile Name=admin-role --instance-id i-0123456789 + ``` -- **iam:CreateAccessKey**iam:CreateAccessKey : create a new access key to another IAM admin account +- **iam:CreateAccessKey** : create a new access key to another IAM admin account ```powershell aws iam create-access-key –user-name target_user ```