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

Report an error
QuestionBack to list