---
title: "Discussion on \"AWS Secrets Manager and Parameter Store: Keep Secrets Out of Your Code\" | Hashnode"
description: "Discussion on \"AWS Secrets Manager and Parameter Store: Keep Secrets Out of Your Code\". Systems Manager gave me a way into instances without SSH. The next question is where an application should keep its database password and settings so they never end up in code. AWS has two good answer"
url: "https://hashnode.com/posts/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code/6aff2cc72df95fb44ea625df"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AWS Secrets Manager and Parameter Store: Keep Secrets Out of Your Code](https://sishodiarobin.hashnode.dev/aws-secrets-manager-and-parameter-store-keep-secrets-out-of-your-code?utm_source=hashnode&utm_medium=feed)

Systems Manager gave me a way into instances without SSH. The next question is where an application should keep its database password and settings so they never end up in code. AWS has two good answer

Nov 19 · 3 min read · sishodiarobin.hashnode.dev  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#secrets-manager](https://hashnode.com/tag/secrets-manager)
-   [#cloud-computing](https://hashnode.com/tag/cloud-computing)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Robin Sishodia](https://hashnode.com/@Sishodia)

@Sishodia · India

  
[View profile](https://hashnode.com/@Sishodia)

AWS DevOps Engineer – Professional | Salesforce Admin (4x certified) | Writing about Kubernetes, Terraform & CI/CD

I moved from 4+ years in operations into Salesforce administration and AWS Cloud/DevOps, and I write about what I learn while building things. I hold 11 certifications, including AWS Certified DevOps Engineer – Professional, Salesforce Platform Administrator I &amp; II, Platform App Builder, Agentforce Specialist, and GitHub Actions. I'm a Trailhead Double Star Ranger with 250+ badges. Here I post practical guides on Kubernetes, Docker, Terraform, CI/CD and DevSecOps, plus Salesforce DevOps with Copado and GitHub Actions. I'm open to Salesforce Admin, CRM support and DevOps/Cloud roles and can join immediately.

## Responses 1

Markdown supported · ⌘↵ to post

[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.
