A microservice must communicate securely between environments without embedding credentials in containers. Which solution best matches this requirement?
Answer
Use IAM roles with AWS STS and restrict permissions per environment
Explanation
Short-lived credentials via IAM roles/STS allow services to authenticate securely without static secrets.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which AWS service is commonly used to implement infrastructure as code for repeatable deployments?
View question →
A developer describes a deployment where tasks are replaced gradually to reduce risk. Which deployment strategy matches this behavior in container orchestration?
View question →
When using Amazon S3 for static website hosting, what configuration item is typically required to allow public access to objects?
View question →
In an AWS DevOps pipeline, which service is best suited to coordinating CI/CD workflows with branching logic and event-driven triggers?
View question →
A team wants to enforce least-privilege access for developers across multiple AWS accounts using a single policy. What feature supports central governance of permissions?
View question →
For containerized workloads, which approach allows running tasks on a cluster of EC2 instances while managing scheduling and scaling?
View question →