Active Directory Trust and SSO
Trust directions for AWS Managed Microsoft AD, ADFS SAML federation, and IAM Identity Center with AD Connector.
The decision: which trust or federation path links the on-premises Active Directory to AWS for this sign-in requirement?
Three ways connect an on-premises Active Directory to AWS. A trust between AWS Managed Microsoft AD and your domain. ADFS SAML federation straight to IAM roles. IAM Identity Center on top of a managed AD (two-way trust) or an AD Connector.
Trust direction
A trust is configured on both domains and the two halves must complement each other. Outgoing on one side pairs with incoming on the other. Only one trust can exist per pair of domains. To change direction, delete it and recreate it as a new trust.
| Term | Meaning |
|---|---|
| Trusting domain | Holds the resources. It trusts users from another domain. |
| Trusted domain | Holds the users who get access. |
| Outgoing trust (from the AWS side) | AWS Managed AD is the trusting domain. On-premises users can reach AWS-side resources. |
| Incoming trust (on the AWS side) | AWS-side users can reach on-premises resources. |
| Two-way | Both directions. |
The arrow of trust points the opposite way to the flow of access.
| Fact | Detail |
|---|---|
| Trust types | External and forest trusts are both supported |
| Two-way trust required | AWS enterprise apps such as IAM Identity Center, WorkSpaces, WorkDocs, Amazon Quick and WorkMail, plus console sign-in through the directory |
| One-way is enough | EC2, RDS and FSx for Windows |
| Selective authentication | Optional. Limits access to approved accounts and service accounts |
| Prerequisites | Network path (VPN or Direct Connect), open AD ports, DNS conditional forwarders on your domain, Kerberos pre-authentication on user accounts, unique NetBIOS and domain names |
| Scope | Trusts are a global feature. With Multi-Region replication, manage them in the primary Region |
| Not supported | Single-label domains |
ADFS federation to IAM
- Add AWS as a relying party trust in ADFS.
- Create IAM roles (for example Admin and Development) that trust the SAML provider.
- ADFS builds a SAML assertion listing the role ARNs the user may assume, based on AD group membership.
- The browser posts the assertion to STS.
AssumeRoleWithSAMLreturns temporary credentials and the console opens.
Each AWS account needs its own trust configuration in ADFS, which becomes heavy to maintain. Identity Center removes that.
IAM Identity Center with AD
| Option | How it works | Watch for |
|---|---|---|
| AWS Managed Microsoft AD with two-way trust | Trust one way grants authentication, trust the other way lets Identity Center read user and group metadata | One-way trust does not work with Identity Center |
| AD Connector | Directory gateway that forwards requests to your AD. Nothing is cached in AWS | Single domain only. Users reset passwords in AD, not in the access portal |
Exam signal
"Single sign-on to many accounts using on-premises AD credentials" means IAM Identity Center. "No directory data stored in AWS" means AD Connector.
Exam trap
A one-way trust from AWS Managed AD cannot back Identity Center, which needs two-way. Also, the trust direction name is confusing. Think "who holds the resources" to pick incoming or outgoing.
Legacy
IAM Identity Center was called AWS Single Sign-On (AWS SSO) in older material.