Bitzu

SAA-C03 ยท Multi-account guardrails and application security

AWS Secrets Manager vs Parameter Store SecureString

Storing database credentials and API keys outside code, automatic rotation in Secrets Manager versus Systems Manager Parameter Store SecureString.

Key points

  • Never hard-code credentials: apps fetch them at runtime with an IAM role.
  • AWS Secrets Manager: database passwords, API keys; KMS encryption, automatic rotation (managed or Lambda function), cross-Region replication.
  • Staging labels: AWSCURRENT, AWSPENDING, AWSPREVIOUS.
  • Billed per secret and per API call.
  • Parameter Store: configuration; SecureString is KMS-encrypted, standard tier has no extra charge, no built-in credential rotation.

Source: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

Practice questions

Single choice

Which service offers built-in automatic rotation of database credentials?

  1. Systems Manager Parameter Store
  2. AWS Secrets Manager
  3. AWS KMS automatic key rotation
  4. AWS AppConfig
Show answer

Answer: B. AWS Secrets Manager

Secrets Manager rotates secrets automatically, with native integrations for databases. Parameter Store has no credential rotation, and KMS key rotation changes encryption keys, not database passwords.

Select all that apply

Which statements about Systems Manager Parameter Store are correct?

  1. SecureString values are encrypted with AWS KMS
  2. Standard-tier parameters have no additional charge
  3. It rotates database passwords automatically
  4. Parameter policies require the advanced tier
  5. A standard parameter value can be up to 64 KB
Show answer

Answer: A. SecureString values are encrypted with AWS KMS, B. Standard-tier parameters have no additional charge, D. Parameter policies require the advanced tier

SecureString values are encrypted with AWS KMS, standard parameters cost nothing extra, and parameter policies need the advanced tier. Parameter Store has no credential rotation, and a standard parameter holds at most 4 KB.

True or false

Because SecureString parameters are encrypted with a KMS key, Parameter Store automatically rotates the database passwords they hold.

Show answer

Answer: False

False. Encryption and rotation are different things. Parameter Store encrypts SecureString values but has no credential rotation; that is a Secrets Manager feature.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More SAA-C03 topics in this module