IAM Identity Center (ex-SSO)
One login into every AWS account in an Organization, plus 3rd-party SaaS. Not a replacement for IAM — it's a workforce identity broker that hands out temporary credentials via permission sets.
Một login vào mọi account trong Organization, kèm SaaS bên ngoài. Không thay IAM — nó là broker identity cho workforce, phát credential tạm thời qua permission set.
Identity sourcesNguồn identity
Built-in storeStore tích hợp
Users/groups directly in Identity CenterUser/group ngay trong Identity Center
Active Directory
Managed AD or on-prem AD via connectorManaged AD hoặc AD on-prem qua connector
External IdP
Okta · OneLogin · Microsoft Entra ID
SAML + SCIM
External IdP = SAML 2.0 for the login only. SAML doesn't create users — pair it with SCIM auto-provisioning (or manual sync) so users/groups exist in the identity store before first sign-in.
IdP ngoài = SAML 2.0 chỉ lo phần login. SAML không tạo user — phải kèm SCIM auto-provisioning (hoặc sync tay) để user/group tồn tại trong identity store trước lần đăng nhập đầu.
Permission setsPermission set
A permission set = one or more IAM policies. Assign it to a user/group and an account (or OU); the user gets a session role in that account. Permission set = 1 hoặc nhiều IAM policy. Gán cho user/group và account (hoặc OU); user nhận được role phiên trong account đó.
- Assign the "DB admins" group to only RDS/Aurora across Dev & Prod OUs — one permission set, two OU assignments.Gán group "DB admins" chỉ vào RDS/Aurora trên OU Dev & Prod — 1 permission set, 2 gán OU.
- Update the permission set once; Identity Center reprovisions the IAM role in every assigned account — no waiting for next login.Sửa permission set 1 lần; Identity Center reprovision IAM role trong mọi account đã gán — không cần đợi lần login sau.
- Session duration is per permission set: default 1 h, max 12 h.Session duration đặt theo permission set: mặc định 1 h, max 12 h.
- In each account the set materializes as a role named
AWSReservedSSO_<name>_<hash>— never edit or delete it by hand; the next reprovision overwrites it.Trong mỗi account, permission set hiện thành role tênAWSReservedSSO_<name>_<hash>— đừng sửa/xoá tay; lần reprovision sau sẽ ghi đè. - Delegated administrator can manage most things but not permission sets provisioned in the management account.Delegated administrator quản được gần hết nhưng không quản permission set provisioned vào management account.
ABAC — attribute-based accessABAC — quyền theo attribute
The ideaÝ tưởng
Store
team, cost-centre, locale on the identity. Reference them in policies with aws:PrincipalTag/*. Change access by editing the person's tag — no policy edits, no new permission set.
Gắn team, cost-centre, locale vào identity. Tham chiếu bằng aws:PrincipalTag/* trong policy. Đổi quyền chỉ cần sửa tag người dùng — không đụng policy, không tạo permission set mới.
Trusted identity propagationTrusted identity propagation
The actual user identity (not the shared session role) flows through to data services — Athena, Redshift, EMR, S3 Access Grants, QuickSight — so grants and CloudTrail are per-person. Exam: "audit which employee touched which data via SSO" → this, not more roles.
Danh tính user thật (không phải session role dùng chung) truyền tới các data service — Athena, Redshift, EMR, S3 Access Grants, QuickSight — nên grant và CloudTrail theo từng người. Exam: "audit nhân viên nào đụng data nào qua SSO" → cái này, không phải thêm role.
SSO vs pure IAMSSO vs IAM thuần
| IAM Identity Center | IAM Users | |
|---|---|---|
| Best forTốt cho | Humans · multi-accountNgười · đa account | Machines · one-off scriptsMáy · script lẻ |
| Credential lifetimeTuổi credential | Session (STS)Session (STS) | Long-lived access keysAccess key vĩnh viễn |
| Cross-accountCross-account | Built-inSẵn có | Manual assume-role setupTự set up assume-role |