ladderlore
  • 输入服务名称,例如 S3 或 IAM。

概念

Authentication methods

The ways people and applications prove who they are to AWS: passwords, MFA, single sign-on and roles.

本课尚未翻译,暂以英文显示。

  • Root user sign-in

    Who uses it
    The account owner, for a few tasks
    How it works
    Email address and password, plus MFA
  • IAM user sign-in

    Who uses it
    Special cases inside one account
    How it works
    User name and password, plus MFA. Programs use access keys.
  • IAM Identity Center

    Who uses it
    Your workforce, across many accounts
    How it works
    One sign-in to the AWS access portal, then choose an account
  • Identity federation

    Who uses it
    People who already have a company login
    How it works
    Their identity provider confirms who they are, and AWS gives temporary credentials
  • Cross-account IAM role

    Who uses it
    Users who need to work in another account
    How it works
    Switch to a role in that account and get temporary credentials
The main ways to sign in to AWS.

1 / 3

  • Root user sign-in

    Who uses it
    The account owner, for a few tasks
    How it works
    Email address and password, plus MFA
  • IAM user sign-in

    Who uses it
    Special cases inside one account
    How it works
    User name and password, plus MFA. Programs use access keys.

2 / 3

  • IAM Identity Center

    Who uses it
    Your workforce, across many accounts
    How it works
    One sign-in to the AWS access portal, then choose an account
  • Identity federation

    Who uses it
    People who already have a company login
    How it works
    Their identity provider confirms who they are, and AWS gives temporary credentials

3 / 3

  • Cross-account IAM role

    Who uses it
    Users who need to work in another account
    How it works
    Switch to a role in that account and get temporary credentials
The main ways to sign in to AWS.
Account AAccount B
用户
Role in account B
Temporary credentials
S3
  1. 1A user in account A asks to switch to a role in account B. The role trusts account A.
  2. 2AWS returns temporary credentials with the role’s permissions.
  3. 3The user works in account B, for example in an S3 bucket, until the credentials expire.
A cross-account role. No second user is needed in account B.

分步说明

  1. 1A user in account A asks to switch to a role in account B. The role trusts account A.
  2. 2AWS returns temporary credentials with the role’s permissions.
  3. 3The user works in account B, for example in an S3 bucket, until the credentials expire.

是什么

Authentication answers the question “who are you?”. People sign in with a password, through IAM Identity Center, or through their company’s identity provider. Programs use access keys or, better, temporary credentials from a role.

Multi-factor authentication (MFA) adds a second proof to the password: something you have, such as an authenticator app on a phone or a security key. A stolen password alone is then not enough. AWS supports passkeys and security keys, virtual authenticator apps and hardware tokens. It recommends passkeys and security keys because they resist phishing.

是什么

With a cross-account IAM role, a user in one AWS account can work in another account without a second user there. Account B creates a role that trusts account A. A user from account A switches to that role and receives temporary credentials for account B.

要记住

  • MFA = something you know (a password) + something you have (a device).
  • MFA devices: passkeys and security keys, authenticator apps, or hardware tokens.
  • IAM Identity Center: one sign-in to the AWS access portal, then any assigned account or application.
  • Cross-account role: switch roles instead of creating users in every account.

要记住

  • Temporary credentials expire on their own, so a leak does less harm.

考试中

  • “Add a second layer of protection to sign-in” points to MFA.
  • “Let users in one account access resources in another account” points to a cross-account IAM role.
  • “One sign-in for all of the company’s AWS accounts” points to IAM Identity Center.