Interview Prep/AWS/Observability, Secrets, KMS and CloudFormation

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 →

  1. Parameter Store standard parameters are free, SecureString uses KMS
  2. Secrets Manager costs about $0.40 per secret per month plus API calls
  3. Use Secrets Manager for DB credentials and keys needing rotation or cross-region replication
  4. 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.

aws All AWS questions

More on Observability, Secrets, KMS and CloudFormation