sts:AssumeRoot is a Write access-level action in the sts service. Grants permission to obtain a set of temporary security credentials that you can use to perform privileged tasks in member accounts in your organization
ARNs that sts:AssumeRoot can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows sts:AssumeRoot. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowStsAssumeRoot",
"Effect": "Allow",
"Action": "sts:AssumeRoot",
"Resource": "*"
}
]
}