Secrets Manager vs Parameter Store
Two places to store configuration. Here's how to choose, plus a final checklist.
1 min read
AWS Systems Manager Parameter Store also stores configuration, including encrypted values
(SecureString).
| Secrets Manager | Parameter Store | |
|---|---|---|
| Built for | Secrets (passwords, keys) | Configuration (with optional secrets) |
| Automatic rotation | Built in | Not built in |
| Cross-account access | Resource policies | Limited |
| Cost | Per secret per month + per API call | Standard parameters have no storage charge |
| Size | Up to 64 KB | 4 KB (standard), 8 KB (advanced) |
A common split
- Parameter Store for non-secret config: feature flags, table names, URLs (
/notesnap/prod/table-name). - Secrets Manager for credentials, especially anything you want rotated.
Checklist
- One secret per purpose and environment, with clear names like
notesnap/prod/email-api. - Least-privilege IAM: each function reads only the secrets it needs.
- Use a customer-managed KMS key for sensitive secrets if you need key-level control and auditing.
- Turn on rotation wherever the target supports it.
- Scan repos for leaked secrets (e.g. GitHub secret scanning), and rotate immediately if one leaks.
Key takeaways
- Secrets Manager for credentials and rotation, Parameter Store for general configuration.
- Name secrets by app/environment/purpose, and grant least-privilege access.
- If a secret leaks, rotate it immediately.
Check your understanding
Pick an answer to see the explanation.
1. You need to store a feature flag (not secret) shared by several services. Most cost-effective choice?
Next in “Make it production-ready”
You finished Secrets Manager. Continue with the CloudWatch tutorial