AWS · explainer · checked November 4, 2026
AWS Secrets Manager vs Parameter Store, and where AWS KMS fits
AWS Secrets Manager stores credentials such as database passwords and API keys and can rotate them automatically. AWS Systems Manager Parameter Store stores configuration values, and can encrypt them, but has no built-in rotation. AWS KMS is a different kind of service: it creates and protects the encryption keys, and both Secrets Manager and Parameter Store call it to encrypt what they hold.
Side by side
| AWS Secrets Manager | Parameter Store | AWS KMS | |
|---|---|---|---|
| What it holds | Secrets: database credentials, API keys, OAuth tokens | Configuration data: strings, lists of strings, encrypted strings | Encryption keys, not your data or secrets |
| Encryption | Always, with AWS KMS | Only for SecureString parameters, with AWS KMS | Is the key service |
| Automatic rotation | Yes, by Lambda function or managed rotation | None | Not applicable |
| Size of a value | Up to 65,536 bytes | 4 KB standard, 8 KB advanced | Not applicable |
| Versions | Up to 100 per secret, marked with staging labels | Keeps the 100 most recent | Not applicable |
| How you pay | Per secret per month and per API call | Standard tier free; advanced tier and higher throughput billed | See the KMS pricing page |
Three tools, two jobs
The three names sit on different layers, which is why comparing them directly is confusing.
Storing a value is one job. AWS Secrets Manager and AWS Systems Manager Parameter Store both do it: your application calls the service at run time and gets the value, so it is not hard-coded in the source.
Protecting the encryption key is the other job, and that is AWS Key Management Service (AWS KMS). KMS creates and controls the keys used to encrypt and sign data. Its keys are created, managed, used and deleted inside the service and never leave it unencrypted. So “KMS or Secrets Manager?” is not a real choice. A secret in Secrets Manager is encrypted with a KMS key.
What Secrets Manager adds
Secrets Manager is built for credentials. AWS describes it as a service to manage, retrieve and rotate database credentials, application credentials, OAuth tokens, API keys and other secrets through their lifecycles.
- **Automatic rotation.** You set a schedule and Secrets Manager replaces the secret on it. For most managed secrets the service handles rotation itself. For others, rotation runs a Lambda function that updates both the secret and the database or service, and you pay for that function at the Lambda rate. Applications that fetch the secret at run time pick up the new value without a code change or a deployment.
- **Versions and staging labels.** A secret holds up to 100 versions, and labels such as
AWSCURRENTandAWSPREVIOUSmark which is which. - **Replication.** A secret can be replicated to other Regions.
- **Cross-account access and audit.** AWS lists cross-account access and fine-grained audit logging among its reasons to choose it for secrets.
A secret value can be up to 65,536 bytes, and an account can hold 500,000 secrets in each Region. You pay for each secret per month and for API calls, so many small values cost more here than in Parameter Store.
What Parameter Store is for
Parameter Store is a place for named configuration values, called parameters. A parameter can be one of three types: String for plain text, StringList for a comma-separated list, and SecureString for a value that is encrypted with KMS. Parameters can be organized in a path hierarchy such as /myapp/prod/endpoint, and IAM policies can limit who reads which path.
Choose a tier per parameter. The standard tier allows 10,000 parameters per account and Region, values up to 4 KB, and has no extra charge. The advanced tier allows 100,000 parameters, values up to 8 KB, parameter policies and sharing across accounts, and is billed. You can move a standard parameter to advanced but not back.
AWS’s own comparison table lists credential rotation for Parameter Store as none, and recommends Secrets Manager for credentials such as database passwords, API keys and tokens. Parameter Store fits values that are not secret, or that need encryption but not rotation: endpoint URLs, environment names, approved AMI IDs and tuning settings.
Where KMS fits
Both services use KMS, in slightly different ways.
- Secrets Manager uses envelope encryption. It asks KMS for a 256-bit data key, encrypts the secret value with that key outside KMS, and stores the encrypted data key with the secret. To read the secret it asks KMS to decrypt the data key.
- Parameter Store encrypts a standard
SecureStringvalue directly with the KMS key, and an advanced one with envelope encryption through the AWS Encryption SDK.
In both, you choose between the AWS managed key (aws/secretsmanager or aws/ssm) and a customer managed key you create. The managed key for Secrets Manager is free. A customer managed key is charged at the KMS rate, and it lets you set your own key policy and audit use of the key. Only the value is encrypted: a Secrets Manager secret’s name and description, and a parameter’s name, are not.
The caller needs KMS permission as well as service permission. Reading a SecureString value needs kms:Decrypt. That is why an application can have permission to read a parameter or secret and still fail with an access error.
How to choose
- **Database password, API key or token that should rotate:** Secrets Manager.
- **Same secret needed in more than one Region:** Secrets Manager with replication.
- **Endpoint, flag, AMI ID or other configuration:** Parameter Store, standard tier,
String. - **Sensitive value that never rotates, and you want to avoid a per-secret charge:** Parameter Store
SecureStringis an option, with the trade-off that you rotate it yourself. - **Create or control an encryption key, or encrypt your own data:** AWS KMS.
Secrets Manager recommends other services for some kinds of secret: AWS Identity and Access Management for AWS credentials, AWS Certificate Manager for private keys and certificates, and AWS KMS for encryption keys. Check each service’s pricing page for current rates, which change.
On the exams
How certification exams use this
The exam guides ask candidates to manage environment-specific application configuration with Parameter Store or Secrets Manager (DVA-C03 task 3.1.4) and to use secret management services to secure sensitive data (DVA-C03 task 2.2.7). DOP-C02 asks for managing build and deployment secrets (task 1.1.s4) and automating credential rotation for machine identities (task 6.1.s3). SCS-C03 task 5.3.1 covers management and rotation of credentials and secrets. SAA-C03 task 1.2 lists Secrets Manager among services that secure applications, and CLF-C02 task 2.3 lists credential storage with Secrets Manager or Systems Manager. Watch the wording: rotation points at Secrets Manager, plain configuration at Parameter Store, and the key itself at KMS. The usual wrong answer is treating KMS as the place where secrets are stored.
Test yourself
See how well you know it, free.
Each exam’s diagnostic is free, with no sign-in: questions across the whole exam, and a map of what you know and what you don’t.
AWS Certified Developer – Associate
20 free questions, no sign-in.
Take the free diagnosticAbout the examAWS Certified DevOps Engineer – Professional
20 free questions, no sign-in.
Take the free diagnosticAbout the examAWS Certified Security – Specialty
20 free questions, no sign-in.
Take the free diagnosticAbout the examAWS Certified Solutions Architect – Associate
20 free questions, no sign-in.
Take the free diagnosticAbout the examAWS Certified Cloud Practitioner
20 free questions, no sign-in.
Take the free diagnosticAbout the examAWS Certified Solutions Architect – Professional
20 free questions, no sign-in.
Take the free diagnosticAbout the exam
Sources
Checked against the vendors’ own documentation.
- What is AWS Secrets Manager?
- Rotate AWS Secrets Manager secrets
- AWS Secrets Manager quotas
- Secret encryption and decryption in AWS Secrets Manager
- AWS Systems Manager Parameter Store
- Choosing parameter tiers in Parameter Store
- AWS KMS encryption for Parameter Store SecureString parameters
- AWS Key Management Service
Last checked November 4, 2026. Spotted something wrong or out of date? Tell us.