A company is integrating its AWS environment with a third-party SaaS monitoring tool. The SaaS vendor requires read-only access to the company's AWS resources to collect performance metrics. The security team mandates that the integration must prevent the 'confused deputy' problem and avoid the use of long-term credentials. Which combination of actions should a solutions architect recommend to configure this access? (Select TWO.)
- Create an IAM role in the company's AWS account with a trust policy that specifies the SaaS vendor's AWS account ID as the principal and includes a condition requiring a unique external ID.Answer
- Attach an IAM permissions policy to the role that grants read-only access to the required AWS services.Answer
- CCreate an IAM user in the company's AWS account, assign the ReadOnlyAccess managed policy, and share the access keys with the SaaS vendor.
- DShare the AWS account root user credentials with the SaaS vendor to enable read-only access across the entire AWS Organization.
- EConfigure the SaaS vendor's application to store its authentication parameters as plaintext String parameters in AWS Systems Manager Parameter Store.
Answer
Create an IAM role in the company's AWS account with a trust policy specifying the SaaS vendor's AWS account ID and a unique external ID condition, and attach a read-only permissions policy to this role.
The correct configuration is to create an IAM role that delegates access to the SaaS vendor's AWS account while validating a unique external ID in the trust policy's condition block. This allows the vendor's application to assume the role securely without requiring long-term AWS credentials. In addition, attaching a read-only permissions policy to this role ensures that the vendor has only the permissions required to gather metrics, adhering to the principle of least privilege.
Step-by-Step Solution
Key Concept
Cross-account IAM roles with external IDs are used to securely delegate access to third-party SaaS vendors while mitigating the confused deputy vulnerability.
Estimated Time:2m 0s