Service comparisons / AWS Secrets Manager vs SSM Parameter Store

Secrets Manager vs Parameter Store

AWS Secrets Manager stores secrets with built-in automatic rotation and cross-account sharing; Systems Manager Parameter Store keeps configuration and secure strings cheaply, without rotation. Which one a question wants.

Last checked against AWS documentation · How we write our content

QuestionAWS Secrets ManagerSSM Parameter Store
Use it whenCredentials must rotate automatically, especially database passwordsYou need configuration values and some secrets, cheaply
RotationBuilt in; managed rotation for RDS, Aurora, Redshift and DocumentDB, or your own Lambda functionNone built in; you'd have to build it yourself
EncryptionAlways encrypted with a KMS keySecureString parameters use a KMS key; plain strings don't
SharingResource policies for cross-account access; replicates secrets to other RegionsWithin the account; advanced parameters can be shared through AWS RAM
CostA monthly charge per secret, plus API callsStandard parameters are free; advanced parameters and higher throughput cost extra

Both keep values out of code and environment files, and applications read both through IAM-controlled API calls. The deciding words in a question are usually rotation and cost.

How to choose

Exam traps