Skip to content

Instantly share code, notes, and snippets.

@magusd
Created May 9, 2022 14:59
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 magusd/b9fe462a5b477d9b93b2f0c46b9dd06a to your computer and use it in GitHub Desktop.
Save magusd/b9fe462a5b477d9b93b2f0c46b9dd06a to your computer and use it in GitHub Desktop.
Github assume role trust policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Federated": "arn:aws:iam::515979638763:oidc-provider/token.actions.githubusercontent.com"
},
"Action": "sts:AssumeRoleWithWebIdentity",
"Condition": {
"StringEquals": {
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment