Skip to content

Commit

Permalink
docs(aws): minor update for instance profile role
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed May 22, 2024
1 parent 2a31fee commit 066cb44
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions docs/aws/manual/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,8 @@ This will be used to grant the EC2 instance access to the Security Hub and EC2 A

1. Navigate to the [IAM Roles](https://console.aws.amazon.com/iam/home#/roles) page
1. Click the **Create role** button
1. Select **Custom trust policy** and paste the following policy into the editor:

```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
]
}
```

1. Select **AWS service** as the trusted entity
1. Select **EC2** as the service/use-case that will use this role
1. Click the **Next** button
1. Search for the policy you created in the previous step (e.g. `FIG-SecurityHub-Access-Policy`) and select it
1. Click the **Next** button
Expand Down

0 comments on commit 066cb44

Please sign in to comment.