AWS Secrets Manager helps securely store, retrieve, manage, and rotate secrets such as database credentials, API keys, and other sensitive values used by applications. It reduces the need to hard-code secrets in source code or configuration files.

What to recognize

Secrets Manager vs. Parameter Store

Secrets Manager is a strong fit when managed secret lifecycle and rotation are important. Systems Manager Parameter Store can store configuration values and parameters, including encrypted SecureString values, and may be appropriate when the scenario emphasizes centralized configuration rather than managed secret rotation.

Exam decision clues

If a question asks how to remove database passwords from application code and rotate them securely, consider Secrets Manager. If it asks about hardware security modules and dedicated control of cryptographic keys, evaluate AWS CloudHSM instead. Do not confuse storing a secret with managing encryption keys themselves.

Test yourself

Practice question

An application needs its RDS database password stored securely and rotated automatically every 30 days without code changes. Which AWS service is the best fit?

  1. AWS Secrets Manager
  2. A hard-coded configuration file
  3. SSM Parameter Store (standard)
  4. An Amazon S3 bucket
Reveal the answer and explanation

Correct answer: A — AWS Secrets Manager. It supports managed secret storage and automatic rotation on a schedule. A configuration file exposes credentials, standard Parameter Store does not provide the same built-in rotation workflow, and S3 is not a secrets-management service.

Related topics

Compare this service with AWS CloudHSM and review the broader AWS Topics study guides.

Prepare for the AWS Solutions Architect Associate (SAA-C03)

Practice secure application design, secrets management, and service-to-service access decisions in AWS.

Try the free SAA-C03 diagnostic or explore the 390-question premium practice package.

COMING SOON • BLACK FRIDAY MEETS CYBER MONDAY
Something BIG Is Coming! Get ready for an exclusive offer on AWS certification exam preparation. November 27–30, 2026
Starts in--d --h --m --sView Pricing Plans