ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

Service · Security၊ Identity နှင့် Compliance

Amazon Cognito

Adds sign-up, sign-in and access control to your own web and mobile apps, and scales to millions of users.

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

App users
Cognito
Application
S3
Google, Apple or Facebook
  1. 1A user signs up or signs in through Cognito, directly or with an existing social account.
  2. 2Cognito sends the app tokens that prove who the user is.
  3. 3If the app needs AWS resources, an identity pool swaps the tokens for temporary AWS credentials, for example to save the user’s photo in Amazon S3.
Cognito between your app’s users and AWS.

အဆင့်ဆင့်

  1. 1A user signs up or signs in through Cognito, directly or with an existing social account.
  2. 2Cognito sends the app tokens that prove who the user is.
  3. 3If the app needs AWS resources, an identity pool swaps the tokens for temporary AWS credentials, for example to save the user’s photo in Amazon S3.

Cognito between your app’s users and AWS.

  • Answers

    User pool
    Who is this user?
    Identity pool
    Which AWS resources may this user use?
  • Gives the app

    User pool
    Tokens after sign-up or sign-in
    Identity pool
    Temporary AWS credentials
  • ဥပမာ

    User pool
    Sign in with email, or with Google or Apple
    Identity pool
    A signed-in user uploads a photo to Amazon S3
The two parts of Cognito.

ဘာလဲ

Amazon Cognito handles identity for the customers of your applications, not for your employees. It gives your app a user directory, ready-made sign-up and sign-in, and security features such as MFA, so you do not have to build them.

A Cognito user pool is the user directory. It signs users in and gives your app tokens that prove who they are. Users can sign in with an email address and password, without a password by using a passkey or a one-time code, or with an account they already have at Google, Apple, Facebook or Amazon. Company SAML and OIDC providers work too.

ဘာလဲ

A Cognito identity pool gives users temporary AWS credentials, so your app can use services such as Amazon S3 or Amazon DynamoDB on the user’s behalf. It can also give limited access to guests who have not signed in.

မှတ်ထားရန်

  • Cognito = customer identity for web and mobile apps.
  • User pool: who is this user? (authentication)
  • Identity pool: which AWS resources may this user use? (authorization)
  • Social sign-in with Google, Apple, Facebook or Amazon.
  • Scales to millions of users.

စာမေးပွဲမှာ

  • “Add user sign-up and sign-in to a mobile app” or “let customers log in with their social media accounts” points to Amazon Cognito.
  • Employee access to AWS accounts is IAM Identity Center, not Cognito.