A company has configured a multi-account environment using AWS Organizations. The IT security team is setting up federated access for external database administrators to access a target database administration account. The company uses an on-premises SAML 2.0-compliant Identity Provider (IdP). A solutions architect creates an IAM SAML provider entity named "CorporateIDP" in the database administration account and configures the IdP with the corresponding AWS metadata. The solutions architect now needs to configure the IAM role in the database administration account that the database administrators will assume after authenticating via the IdP. Which configuration must be applied to the IAM role's trust policy in the database administration account to allow these users to federate successfully?
- AConfigure the trust policy with the principal set to the SAML provider ARN (arn:aws:iam::<AccountID>:saml-provider/CorporateIDP), the action set to sts:AssumeRole, and a condition verifying that the SAML:sub attribute matches the database administrators group.
- BConfigure the trust policy with the principal set to the AWS Organizations management account root user, and rely on a Service Control Policy (SCP) applied to the Organizational Unit (OU) to delegate permissions using the sts:AssumeRoleWithSAML action.
- Configure the trust policy with the principal set to the SAML provider ARN (arn:aws:iam::<AccountID>:saml-provider/CorporateIDP), the action set to sts:AssumeRoleWithSAML, and a condition verifying that the SAML:aud attribute matches https://signin.aws.amazon.com/saml.Cevap
- DConfigure the trust policy with the principal set to the corporate Identity Provider's public IP address range, and the action set to sts:AssumeRoleWithWebIdentity to allow direct federation from the enterprise network.