An organization runs automated database backup scripts on its on-premises servers. These scripts need to upload backups to an Amazon S3 bucket. To comply with security best practices, the organization wants to avoid storing long-term access keys on the physical servers. Which IAM solution should the organization implement to grant these scripts secure, temporary access?
- AWS IAM Roles AnywhereAnswer
- BAn IAM group with programmatic access keys shared among the physical servers
- CThe AWS account root user access keys stored in a secure local configuration file
- DAn IAM user with a policy allowing S3 access and access keys rotated manually every year
Answer
AWS IAM Roles Anywhere
AWS IAM Roles Anywhere is the correct solution because it allows workloads running outside of AWS, such as on-premises servers, to use digital certificates to authenticate and obtain temporary AWS credentials by assuming an IAM role. This eliminates the security risk of storing long-term AWS access keys on physical infrastructure.
Step-by-Step Solution
Key Concept
AWS IAM Roles Anywhere provides temporary security credentials for workloads outside of AWS.