---
title: "Comment by OneLifeVibe on \"AWS Secrets Manager and Parameter Store: Keep Secrets Out of Your Code\" | Hashnode"
description: "The comparison table is the part I would keep coming back to, especially the rotation and encryption rows. Secrets Manager earns its cost when a credential must"
url: "https://hashnode.com/posts/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code/6aff2cc72df95fb44ea625df/comment/6aff9cc0c892aaa290ac57f5"
---

[Discussion](https://hashnode.com/posts/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code/6aff2cc72df95fb44ea625df)

Comment [AWS Secrets Manager and Parameter Store: Keep Secrets Out of Your Code](https://hashnode.com/posts/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code/6aff2cc72df95fb44ea625df)

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[Nov 20](https://hashnode.com/posts/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code/6aff2cc72df95fb44ea625df/comment/6aff9cc0c892aaa290ac57f5)

The comparison table is the part I would keep coming back to, especially the rotation and encryption rows. Secrets Manager earns its cost when a credential must rotate without a redeploy, while Parameter Store is a cleaner fit for settings and simple values that rarely change. Your point about least privilege is important too: limiting a role to only the secret or path it needs, plus the matching KMS decrypt permission, prevents a small application compromise from becoming a broad secret-reading problem. One follow-up worth covering in the KMS post is what happens when rotation and caching meet. An application that caches a database password for a long time can keep using an old value after rotation, so the rotation schedule and the cache lifetime need to be designed together.
