Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created January 11, 2022 16:27
Show Gist options
  • Save Voronenko/e08441025b037da08baac4ef81b0e676 to your computer and use it in GitHub Desktop.
Save Voronenko/e08441025b037da08baac4ef81b0e676 to your computer and use it in GitHub Desktop.
Allow group members to assume specific role
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "123",
"Effect": "Allow",
"Action": [
"sts:AssumeRole"
],
"Resource": [
"arn:aws:iam::XXX:role/eks/ROLE"
]
}
]
}
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::XXX:root"
},
"Action": "sts:AssumeRole"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment