Merge pull request #586 from nzdjb/nzdjb-patch-3

feat: Explain ec2:AssociateIamInstanceProfile
This commit is contained in:
Swissky 2022-10-23 11:19:35 +02:00 committed by GitHub
commit 1e01f83c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```