ladderlore
  • S3 や IAM などのサービス名を入力してください。

概念

Identity federation

Sign in to AWS with an identity you already have, instead of creating new users in AWS.

このレッスンはまだ翻訳されていないため、英語で表示しています。

Your companyAWS クラウド
Employee
Company identity provider
IAM Identity CenterConsole
  1. 1The employee signs in with the company login they already use.
  2. 2The identity provider sends AWS a signed message that says who the user is.
  3. 3AWS trusts the provider, so the user gets temporary credentials and opens the console.
Workforce federation: the company login opens AWS.

流れ

  1. 1The employee signs in with the company login they already use.
  2. 2The identity provider sends AWS a signed message that says who the user is.
  3. 3AWS trusts the provider, so the user gets temporary credentials and opens the console.
  • Local users

    例
    IAM users created inside one AWS account
    AWS service
    IAM
  • Workforce federation

    例
    Staff sign in with their company login
  • Customer identities

    例
    App users sign up, or sign in with Google or Apple
    AWS service
    Cognito
  • Microsoft Active Directory

    例
    Windows users and computers kept in AD
Types of identity management, and the AWS service for each.

1 / 2

  • Local users

    例
    IAM users created inside one AWS account
    AWS service
    IAM
  • Workforce federation

    例
    Staff sign in with their company login

2 / 2

  • Customer identities

    例
    App users sign up, or sign in with Google or Apple
    AWS service
    Cognito
  • Microsoft Active Directory

    例
    Windows users and computers kept in AD
Types of identity management, and the AWS service for each.

概要

Identity federation means that AWS trusts another system to say who a user is. That system is an identity provider (IdP), such as a company directory, Okta, Microsoft Entra ID or a Google account. The user signs in there, and AWS accepts the result. No IAM user is created, and no long-term AWS password or access key is handed out.

Federation uses open standards such as SAML 2.0 and OpenID Connect (OIDC). After sign-in, the user gets temporary credentials through an IAM role. When someone leaves the company and is removed from the directory, they can no longer sign in to AWS either.

概要

The right AWS service depends on who signs in. For your workforce, use IAM Identity Center. For the customers of your web or mobile app, use Amazon Cognito. To use Microsoft Active Directory with AWS services, use AWS Directory Service.

覚えること

  • Users are managed in one place and use the same login for AWS.
  • Federated users get temporary credentials through a role.
  • SAML 2.0 is common for workforce sign-in. OIDC and social logins are common for apps.
  • A user removed from the identity provider can no longer sign in to AWS.
  • AWS recommends federation for people, instead of IAM users.

試験では

  • “Employees should sign in to AWS with their existing corporate credentials” points to identity federation, usually through IAM Identity Center.
  • “Let app users sign in with Google, Apple or Facebook” points to federation through Amazon Cognito.