Secrets Manager and Parameter Store
Secrets Manager automates secret rotation while Parameter Store provides hierarchical configuration and string storage.
How it works
AWS Secrets Manager and Systems Manager Parameter Store let applications retrieve configuration or sensitive data without hardcoding it. Parameter Store supports hierarchical parameters, including encrypted SecureString values. Secrets Manager supports scheduled secret rotation when configured; many secret types use Lambda, while some secrets managed by other services use managed rotation.
When to use it
Choose it when the requirement is to automatically rotate database credentials or store application configuration parameters.
Real-world example
A web application retrieves service URLs from Parameter Store and a database password from Secrets Manager. The team configures a Lambda function to rotate the password on a schedule and makes the application refresh cached credentials and handle errors.
Key facts
- Secrets Manager natively invokes AWS Lambda functions to rotate database and third-party credentials.
- Parameter Store supports plaintext and encrypted SecureString parameters without built-in automated rotation.
Common pitfall
Do not assume Parameter Store automatically rotates passwords like Secrets Manager. If you use Parameter Store for secrets that need rotation, you must build a suitable mechanism; compare features and costs before choosing.
Often confused with
AWS KMS manages cryptographic encryption keys rather than storing database credentials or plain application configurations.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- automatic rotation
- parameter hierarchy
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.