A company has on-premises servers that need to securely upload log files to an Amazon S3 bucket. The company's security policy strictly prohibits the storage or use of long-term AWS security credentials, such as IAM user access keys, on the on-premises servers. A solutions architect must design an authorization solution that enables these servers to dynamically request temporary AWS security credentials.
Which combination of actions should the solutions architect take to meet these requirements? (Select TWO.)
- Create a trust anchor in AWS IAM Roles Anywhere by establishing trust with a supported private or public Certificate Authority (CA).Answer
- Install and configure the AWS IAM Roles Anywhere credential helper tool on the on-premises servers to retrieve credentials from AWS Security Token Service (STS).Answer
- CGenerate IAM access keys for the AWS account root user, and configure annual rotation of the root user keys using AWS KMS customer managed keys.
- DStore the IAM user access keys as plain text parameters in AWS Systems Manager Parameter Store so the servers can fetch them via simple API calls.
- EManually create individual IAM users with long-term security credentials for the on-premises servers to authenticate via IAM identity federation.
Answer
The solutions architect should create a trust anchor in AWS IAM Roles Anywhere by establishing trust with a supported Certificate Authority (CA), and install and configure the AWS IAM Roles Anywhere credential helper tool on the on-premises servers to retrieve credentials from AWS Security Token Service (STS).
To secure communications from on-premises workloads without managing long-term AWS credentials, AWS IAM Roles Anywhere is the recommended service. Implementing this requires creating a trust anchor in AWS IAM Roles Anywhere linked to a Certificate Authority (CA) and running the IAM Roles Anywhere credential helper on the server to handle certificate exchange for temporary security credentials.
Step-by-Step Solution
Key Concept
AWS IAM Roles Anywhere allows workloads outside of AWS (like physical or virtual servers on-premises) to use X.509 certificates to obtain temporary AWS security credentials, removing the need to manage long-term IAM access keys.