passdrill
AWS SAA-C03 · IAM & Security · Card 022/024 hard

An enterprise already runs its own SAML 2.0-compliant identity provider for internal employee logins and wants employees to obtain temporary AWS credentials to access resources in a single AWS account directly, by federating their existing identity provider straight into IAM, without adopting AWS's own managed workforce SSO service and without creating any IAM user for any employee. Which approach fits?

  1. Configure IAM Identity Center as the enterprise's identity provider, since it is the only supported way to federate any external identity provider with AWS
  2. Create an IAM user for every employee and have the identity provider place a long-lived AWS access key into each user's browser session
  3. Use AWS Directory Service to fully replace the enterprise's existing identity provider, since IAM cannot trust an external SAML provider directly
  4. Create a SAML identity provider entity in IAM that trusts the enterprise's identity provider, then create an IAM role whose trust policy allows that SAML provider to call AssumeRoleWithSAML, so authenticated employees receive temporary credentials scoped to that role without any IAM user ever being created
Next card → Shuffle