Secrets Manager or SSM Parameter Store: when to use which?
IntermediateScenarioObservability, Secrets, KMS and CloudFormation
Answer
Situation read → Secrets Manager rotates and costs per secret; Parameter Store is cheaper for config.
What I'd do →
- Parameter Store standard parameters are free, SecureString uses KMS
- Secrets Manager costs about $0.40 per secret per month plus API calls
- Use Secrets Manager for DB credentials and keys needing rotation or cross-region replication
- Use Parameter Store for flags and non-rotated config
Why → Match cost to need.
Interview tip → Cross-account sharing is simpler with Secrets Manager resource policies.
More on Observability, Secrets, KMS and CloudFormation
You need to be paged when 5xx errors on the ALB exceed 2 percent for 5 minutes. How?BeginnerHow do you centralize application logs from many EC2 and ECS services?BeginnerCloudWatch costs exploded. Where do you look?IntermediateInvestigate a latency spike across microservices on AWS. What tools do you use?IntermediateAn auditor asks for proof of every configuration change to security groups for 12 months. What do you provide?IntermediateAuto-remediate any security group opened to 0.0.0.0/0 on port 22.Advanced