DVA-C03

Introduction to Secrets Manager and Parameter Store

Secure storage of secrets and configuration values.

  • 1 lesson
  • Module quiz

Applications need values that should not be written into their code: database passwords, API keys and other secrets, and configuration that differs between environments, such as table names and service endpoints. Storing these in code or plain configuration files exposes secrets to anyone who can read the repository and means the application must be rebuilt to change them.

AWS offers two services for storing such values outside the code. AWS Secrets Manager is designed for secrets: it encrypts them with AWS KMS, controls access with IAM and resource policies, replicates them to other Regions and, most importantly, can rotate them automatically. It is charged per secret per month plus API calls. AWS Systems Manager Parameter Store is a simpler, cheaper store for configuration values and secrets, organised in a hierarchy of paths, with a free standard tier.

Where these services fit

On the exam, the deciding requirement is usually clear: automatic rotation points to Secrets Manager, while the cheapest or simplest store for configuration points to Parameter Store. Applications read both at runtime and should cache the values, and both can be referenced from CloudFormation templates.

How this module is organised

The module has a single lesson, Choosing Between Secrets Manager and Parameter Store, which compares the two services, explains rotation and parameter types, and shows how applications retrieve and cache values.

  1. Choosing Between Secrets Manager and Parameter Store Lesson 1
  2. Practise and review
  3. Test your knowledge 6 questions