sts:AssumeRoot

Write

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

Resource types

ARNs that sts:AssumeRoot can be scoped to in an IAM policy.

arn:${Partition}:iam::${Account}:root
root-user

Condition keys

No condition keys are documented for this action.

Example IAM policy

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": "*"
    }
  ]
}

Related actions in sts

View all sts actions →