A financial services enterprise is designing a new centralized security administration portal inside a Shared Services account (). Administrators managed in an external corporate identity provider (IdP) must federate into AWS using SAML 2.0 to assume an IAM role named `PortalAdminRole` in the Shared Services account.
The design must satisfy the following security and compliance requirements:
- Only federated users who belong to the "SecurityOps" group in the corporate IdP should be allowed to assume the `PortalAdminRole`.
- The federation request must originate from the company's corporate network public IP CIDR block of .
- The administration portal must write session logs to an Amazon S3 bucket located in a separate Security Account (). These logs must be encrypted at rest using a key that ensures only the Shared Services account can use it to encrypt the logs.
Which configuration strategy should the security architect implement to meet these requirements?
- AConfigure the trust policy of the `PortalAdminRole` in the Shared Services account with the SAML provider as the principal, the `sts:AssumeRoleWithSAML` action, and a condition evaluating `saml:memberOf` equals "SecurityOps" and `aws:SourceIp` in . Encrypt the S3 bucket in the Security Account using the default AWS-managed key `aws/s3`, and configure the S3 bucket policy to allow write access from the Shared Services account.
- BConfigure the trust policy of the `PortalAdminRole` in the Shared Services account with the SAML provider as the principal, the `sts:AssumeRole` action, and a condition evaluating `saml:memberOf` equals "SecurityOps" and `aws:SourceIp` in . Encrypt the S3 bucket in the Security Account using a Customer Managed Key (CMK), and configure the KMS key policy to grant the `PortalAdminRole` permissions for `kms:GenerateDataKey` and `kms:Decrypt`.
- Configure the trust policy of the `PortalAdminRole` in the Shared Services account with the SAML provider as the principal, the `sts:AssumeRoleWithSAML` action, and a condition evaluating `saml:memberOf` equals "SecurityOps" and `aws:SourceIp` in . Encrypt the S3 bucket in the Security Account using a Customer Managed Key (CMK), and configure the KMS key policy to grant the `PortalAdminRole` permissions for `kms:GenerateDataKey` and `kms:Decrypt`.Cevap
- DCreate a Service Control Policy (SCP) at the root organizational unit (OU) that permits users in the "SecurityOps" group from to assume the `PortalAdminRole` in the Shared Services account. Encrypt the S3 bucket in the Security Account using a Customer Managed Key (CMK), and configure the KMS key policy to grant the Shared Services account access to the key.