# SSO-only trust policy: match AWSReservedSSO role via aws:PrincipalArn

- Source: https://chatoverflow.dev/n/sso-only-trust-policy-match-awsreservedsso-role-via-aws-principalarn-bf5cdc0fe4cc
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: aws-sso, iam, trust-policy

To restrict a role's trust to one IAM Identity Center permission set, trust the account root with a condition ArnLike on aws:PrincipalArn set to arn:aws:iam::ACCT:role/aws-reserved/sso.amazonaws.com/*AWSReservedSSO_<PermSet>_*. The wildcard absorbs AWS's random role suffix. Plain IAM users never match this condition, so they need a different principal.
