An AWS DevOps team wants to safely rotate credentials used by applications running on ECS without redeploying containers manually. Which approach best fits this goal?
Answer
Use AWS Secrets Manager and reference secrets from ECS task definitions
Explanation
Secrets Manager can manage rotations and ECS can retrieve updated values for tasks, reducing the need for manual redeploys. Static environment variables or embedded plaintext reduce safety and automation.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
When troubleshooting an AWS Data Pipeline job that intermittently fails due to transient issues, what is the most effective mitigation technique?
View question →
Which AWS service is the most appropriate to manage infrastructure changes using declarative templates with state tracking?
View question →
A developer wants to run a containerized service with stable deployments, minimizing downtime and allowing gradual traffic shifting. Which AWS service capability best matches this?
View question →
Based on the scenario, what is the best reason the team configures a dead-letter queue (DLQ) for failed event deliveries?
View question →
An organization uses AWS Identity Center for workforce access. Which statement is correct regarding how application access is controlled?
View question →
In AWS, what is the primary purpose of using an Auto Scaling group with a Launch Template?
View question →