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
Which service offers built-in automatic rotation of database credentials?
- Systems Manager Parameter Store
- AWS Secrets Manager
- AWS KMS automatic key rotation
- 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.
Which statements about Systems Manager Parameter Store are correct?
- SecureString values are encrypted with AWS KMS
- Standard-tier parameters have no additional charge
- It rotates database passwords automatically
- Parameter policies require the advanced tier
- 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.
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.
