Skip to content

Instantly share code, notes, and snippets.

@ran-isenberg
Last active April 27, 2024 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ran-isenberg/7b89eb0de5e322f4f06859fc197e06e5 to your computer and use it in GitHub Desktop.
Save ran-isenberg/7b89eb0de5e322f4f06859fc197e06e5 to your computer and use it in GitHub Desktop.
assume_role_trusy.yaml
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Statement1",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::390096245597:role/roleserviceA",
"arn:aws:iam::390096245597:role/roleserviceB"
]
},
"Action": [
"sts:AssumeRole"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment