sts:AssumeRoleWithSAML

Write

sts:AssumeRoleWithSAML 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 via a SAML authentication response

Resource types

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

arn:${Partition}:iam::${Account}:role/${RoleNameWithPath}
role

Condition keys

Keys you can use in the Condition block of a policy that grants sts:AssumeRoleWithSAML.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

iam:ResourceTag/${TagKey} String

Filters access by the tags that are attached to the role that is being assumed

Example IAM policy

A minimal policy that allows sts:AssumeRoleWithSAML. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowStsAssumeRoleWithSAML",
      "Effect": "Allow",
      "Action": "sts:AssumeRoleWithSAML",
      "Resource": "*"
    }
  ]
}

Related actions in sts

View all sts actions →