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

Report an error
QuestionBack to list