In a question on tutorials dojo - a question came up on how users in Corporate network can access AWS (no mention of SAML 2.0) - amongst the answer choices (1) & (3) were indicated as correct.
(1) is definitely right - However, I’ve been searching AWS documentation on (2) vs (3)-> I had picked (2) because You can create a Custom Identity Broker which calls STS.AssumeRole on behalf of the application and hands off the credentials to the application which is in the AWS documentation. However the correct answer picks (3). I have not found any documentation where the “application first authenticates against LDAP to retrieve the name of an IAM role associated with the user. It then assumes that role via a call to IAM Security Token Service (STS)”. (1) and (2) can be found here .
- (1) Authenticate against LDAP using an identity broker you created, and have it call IAM Security Token Service (STS) to retrieve IAM federated user credentials. The application then gets the IAM federated user credentials from the identity broker to access the appropriate S3 bucket.
- (2) Create an identity broker that assumes an IAM role, and retrieve temporary AWS security credentials via IAM Security Token Service (STS). The application gets the AWS temporary security credentials from the identity broker to gain access to the appropriate S3 bucket
- (3) The application first authenticates against LDAP to retrieve the name of an IAM role associated with the user. It then assumes that role via a call to IAM Security Token Service (STS). Afterward, the application can now use the temporary credentials from the role to access the appropriate S3 bucket.
Can someone point out where does AWS say an app can directly auth against LDAP WITHOUT an Identity Broker and thus validate (3) is right? And thus why (2) is wrong?
Related discussions: