IAM Access Key
IZ Suite connects to an AWS account with an IAM access key pair (Access Key ID and Secret Access Key). The key should belong to a dedicated IAM user with read-only permissions on the services you want to govern. IZ Suite never creates, changes or deletes AWS resources and never reads secret values.
Create the IAM policy
In the AWS console, open
IAM->Policiesand clickCreate policySelect the
JSONeditor and paste the policy belowName the policy, for example
IZSuiteReadOnly, and create it
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "IZSuiteDiscovery",
"Effect": "Allow",
"Action": [
"ec2:DescribeRegions",
"lambda:ListFunctions",
"lambda:GetFunction",
"lambda:GetPolicy",
"lambda:ListFunctionUrlConfigs",
"lambda:ListEventSourceMappings",
"cloudformation:ListStacks",
"cloudformation:DescribeStacks",
"cloudformation:GetTemplate",
"states:ListStateMachines",
"states:DescribeStateMachine",
"apigateway:GET",
"ecs:ListClusters",
"ecs:ListServices",
"ecs:DescribeServices",
"ecs:DescribeTaskDefinition",
"rds:DescribeDBInstances",
"rds:DescribeDBClusters",
"rds:DescribeDBEngineVersions",
"elasticloadbalancing:DescribeLoadBalancers",
"elasticloadbalancing:DescribeLoadBalancerAttributes",
"elasticloadbalancing:DescribeListeners",
"elasticloadbalancing:DescribeTargetGroups",
"elasticloadbalancing:DescribeTargetGroupAttributes",
"secretsmanager:ListSecrets",
"secretsmanager:DescribeSecret",
"secretsmanager:GetResourcePolicy",
"cloudfront:ListDistributions",
"cloudfront:GetDistribution",
"dynamodb:ListTables",
"dynamodb:DescribeTable",
"dynamodb:DescribeContinuousBackups",
"dynamodb:DescribeTimeToLive",
"sqs:ListQueues",
"sqs:GetQueueUrl",
"sqs:GetQueueAttributes",
"sns:ListTopics",
"sns:GetTopicAttributes",
"sns:ListSubscriptionsByTopic",
"events:ListEventBuses",
"events:DescribeEventBus",
"events:ListRules",
"events:DescribeRule",
"events:ListTargetsByRule",
"codepipeline:ListPipelines",
"codepipeline:GetPipeline",
"codebuild:ListProjects",
"codebuild:BatchGetProjects",
"codedeploy:ListApplications",
"codedeploy:ListDeploymentGroups",
"codedeploy:BatchGetDeploymentGroups",
"codedeploy:GetDeploymentGroup"
],
"Resource": "*"
},
{
"Sid": "IZSuiteExecutionRoles",
"Effect": "Allow",
"Action": [
"iam:GetRole",
"iam:ListRolePolicies",
"iam:GetRolePolicy",
"iam:ListAttachedRolePolicies",
"iam:GetPolicy",
"iam:GetPolicyVersion"
],
"Resource": "*"
}
]
}
IZSuiteDiscovery
Lists the resources of each service and reads the definition that is scanned. ec2:DescribeRegions is only used when no regions are entered on the organisation and the regions are discovered automatically.
IZSuiteExecutionRoles
Optional. Reads the IAM roles used by Lambda functions, Step Functions state machines and ECS task definitions so the IAM rules (for example over-permissive policies) can be evaluated. Without it the scan still runs, without those rules.
Create the IAM user and access key
Open
IAM->Usersand clickCreate user. Do not give the user console access.On
Set permissions, selectAttach policies directlyand attach the policy created aboveOpen the new user, select the
Security credentialstab and clickCreate access keyChoose
Third-party service(orOther) as the use case and create the keyCopy the
Access keyand theSecret access key. The secret is shown only once.Note the 12-digit
Account IDshown in the account menu at the top right of the console
The Account ID, Access Key ID and Secret Access Key are entered when the AWS account is onboarded
Rotating the key
Create a second access key for the same IAM user, update the organisation in IZ Suite with the new key, confirm the next sync succeeds, and then deactivate and delete the old key in AWS.
Last updated
Was this helpful?

