sts:AssumeRoleWithWebIdentity is a Write access-level action in the sts service. Grants permission to obtain a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider
ARNs that sts:AssumeRoleWithWebIdentity can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants sts:AssumeRoleWithWebIdentity.
Filters access by the tags associated with the resource
Filters access by the tags that are attached to the role that is being assumed
A minimal policy that allows sts:AssumeRoleWithWebIdentity. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowStsAssumeRoleWithWebIdentity",
"Effect": "Allow",
"Action": "sts:AssumeRoleWithWebIdentity",
"Resource": "*"
}
]
}