iam-configuration
To enable AWS IAM role-based authentication without sharing access keys and secrets, follow the steps below:
- Create an IAM role in your AWS account. Follow AWS’s guide to create a new IAM role.
- Attach required policies to the role depending on the AWS services you want to allow access to (for example,
AmazonEC2ReadOnlyAccess,AWSWAFFullAccess, etc.). - Update the trust policy to allow Sumo Logic’s AWS account to assume this role. This involves editing the trust relationship JSON to include Sumo Logic’s AWS account ID as a trusted principal.
Example trust policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::926226587429:root"
},
"Action": "sts:AssumeRole"
}
]
}