A company needs to grant programmatic access to an external third-party Software-as-a-Service (SaaS) monitoring tool to read configuration metrics from their AWS account. The SaaS tool does not run on AWS infrastructure. According to AWS Identity and Access Management (IAM) best practices, which configuration should the administrator implement to grant this access?
- Configure a cross-account IAM role with a trust policy that allows the third-party AWS account to assume the role, requiring an external ID.Answer
- BCreate a dedicated IAM user, generate programmatic access keys, and share these keys with the third-party tool.
- CProvide the third-party tool with the access keys of the AWS Account Root User to ensure uninterrupted programmatic API access.
- DRequest that the AWS customer support team configure the third-party tool's access permissions directly within the AWS infrastructure.
Answer
Configure a cross-account IAM role with a trust policy that allows the third-party AWS account to assume the role, requiring an external ID.
The correct option outlines the standard AWS security recommendation for granting third-party access. By configuring a cross-account IAM role, the third-party tool can obtain temporary security credentials to perform API actions. Requiring an external ID is a vital security best practice that prevents the 'confused deputy' problem in multi-tenant integrations.
Step-by-Step Solution
Key Concept
Cross-account IAM delegation and external ID best practices for third-party integrations