StudyToCert

All certifications / Solutions Architect Associate / Lessons

AWS Certified Solutions Architect – Associate SAA-C03 · Domain 1: Design Secure Architectures

Secrets management: Secrets Manager rotation vs Systems Manager Parameter Store SecureString

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Secrets are things like passwords and API keys that programs need to log in to other systems. Writing them into code or images is like taping your house key to the front door: anyone who sees the code sees the key. AWS offers two safe lockers. Secrets Manager is built for secrets and can change a password on a schedule by itself, updating both the database and the stored copy so apps keep working. Parameter Store is a tidy filing cabinet for settings, organized like folders, and can hold encrypted values too, but it does not change them for you. The rule of thumb: if something must be changed automatically, use Secrets Manager; if it is a setting or a secret that rarely changes and cost matters, Parameter Store is fine.

A security scan at Fernhill Logistics finishes on a Tuesday afternoon, and the results land in your inbox with a red banner. The production database password is sitting in a .env file baked into a container image, and three Lambda functions hold a vendor API key in plain environment variables. The auditor's follow-up is blunt: the database password must change every 30 days with no downtime, and every read of a secret must be traceable. A teammate says, 'Just move everything into Parameter Store, it's free.' Another says Secrets Manager is the only real answer. Both have a point. Which one fits each secret, and why?

Applications need database passwords, API keys and tokens. Hard-coding them in source code, Amazon Machine Images (AMIs), container images or environment files is a classic security failure: secrets end up in version control, logs and backups, anyone who can read the artifact can read the secret, and changing a secret means redeploying. The fix is to store secrets in a managed service, give each application's IAM role permission to read only its own secrets, and fetch them at runtime. AWS gives you two managed places to do this, and the exam asks you to pick between them.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Solutions Architect Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Solutions Architect Associate study plan