ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · CLF-C02 အပေါ် ဆက်လေ့လာရန်

Federating identities into IAM

Match the sign-in source to the right federation path: staff, app users or Active Directory users.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

Cloud Practitioner မှ သင်သိပြီးသားများ

  • Federation lets AWS trust another identity provider, so no IAM users are needed.
  • It uses SAML 2.0 and OpenID Connect.
  • Federated users get temporary credentials through a role.
Cloud Practitioner သင်ခန်းစာကို ဖတ်ရန်
Pick the path by who signs in.
User
Identity provider
STS
AWS resources
  1. 1The user signs in at the identity provider.
  2. 2The provider returns a SAML assertion or OIDC token, which is exchanged with STS.
  3. 3STS returns temporary credentials for a role. The user reaches AWS resources.
How federation ends in temporary credentials.

အဆင့်ဆင့်

  1. 1The user signs in at the identity provider.
  2. 2The provider returns a SAML assertion or OIDC token, which is exchanged with STS.
  3. 3STS returns temporary credentials for a role. The user reaches AWS resources.

How federation ends in temporary credentials.

ဘာလဲ

SAML 2.0 fits enterprise identity providers and workforce sign-in. OpenID Connect (OIDC) fits web and mobile apps and social sign-in. In both, the provider proves who the user is, and STS exchanges that proof for temporary credentials through a role.

For app users, do not call AssumeRoleWithWebIdentity yourself. Use Amazon Cognito. A user pool signs users in. An identity pool turns the sign-in into AWS credentials.

ဘာလဲ

For staff with many accounts, use IAM Identity Center. For staff on one account with an existing SAML provider, create an IAM SAML provider and a role. If you must integrate a system that does not speak SAML, you can build a custom identity broker, but it is the last choice.

မှတ်ထားရန်

  • SAML 2.0: workforce and enterprise IdPs. OIDC: apps and social sign-in.
  • Federated sessions come from STS. No long-term keys.
  • Staff in many accounts: IAM Identity Center.
  • App users: Cognito user pool, then identity pool for AWS credentials.

မှတ်ထားရန်

  • Active Directory users: AD Connector or a trust with AWS Managed Microsoft AD, plus Identity Center.
  • Removing a user from the directory stops new sign-ins. Sessions already started last until they expire.

စာမေးပွဲမှာ

  • “Millions of mobile app users sign in with a social account and upload to S3” points to Cognito user pool and identity pool.
  • “Employees use the corporate SAML provider to reach the console” points to SAML federation, usually through IAM Identity Center.
  • “Existing on-premises Active Directory users must sign in to AWS” points to AD Connector or a trust, with Identity Center.