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 ↗// 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
// OFFICIAL AWS REFERENCE
"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
Role: Stores, retrieves, and rotates database credentials, API keys, and OAuth tokens.
Choose: Secrets must be fetched at runtime and rotated on a schedule.
Avoid: The data is non-secret config and you want no per-secret monthly charge.
Trap: Watch for exam signals like free storage, plain config strings.
Fact: Billing is per secret per month plus per API call. Secrets marked for deletion are free.
Fact: Non-managed rotation runs a Lambda function, billed at Lambda rates.
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.