SECURITY & GUARD Encryption and secrets

AWS Secrets Manager

Stores, retrieves, and rotates database credentials, API keys, and OAuth tokens.

Official AWS Reference https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

Secrets must be fetched at runtime and rotated on a schedule.

✕

When to Avoid

The data is non-secret config and you want no per-secret monthly charge.

// EXAM TRAPS & SIGNAL KEYWORDS

free storage, plain config strings

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html ↗

"Secrets Manager manages, retrieves, and rotates database credentials, application credentials, OAuth tokens, and API keys across their lifecycle, on an automatic rotation schedule."

  • Billing is per secret per month plus per API call. Secrets marked for deletion are free.
  • Non-managed rotation runs a Lambda function, billed at Lambda rates.
  • Encryption with the AWS managed key aws/secretsmanager is free. A customer managed key is billed at KMS rates.

// AWS SECRETS MANAGER TAKEAWAYS

01

Role: Stores, retrieves, and rotates database credentials, API keys, and OAuth tokens.

02

Choose: Secrets must be fetched at runtime and rotated on a schedule.

03

Avoid: The data is non-secret config and you want no per-secret monthly charge.

04

Trap: Watch for exam signals like free storage, plain config strings.

05

Fact: Billing is per secret per month plus per API call. Secrets marked for deletion are free.

06

Fact: Non-managed rotation runs a Lambda function, billed at Lambda rates.

07

Fact: Encryption with the AWS managed key aws/secretsmanager is free. A customer managed key is billed at KMS rates.

// PRACTICE QUESTIONS

Ready to test your AWS Secrets Manager knowledge?

5 practice questions cover AWS Secrets Manager.

Start Practice →