How long data under AWS KMS keys stays sensitive: harvest now decrypt later

Data under AWS KMS keys is protected by symmetric AES-256-GCM, which the AWS KMS guide describes as quantum resistant, while RSA and elliptic-curve keys and their key exchange are the public-key parts that a large quantum computer would threaten. Judge risk by how long the data must stay confidential and which key specs and TLS paths protect it.

On this page

Does data under AWS KMS keys face harvest now decrypt later risk?

If you hold data under AWS KMS keys that must stay confidential for many years, the answer depends on which key type protects it. Data under symmetric KMS keys, which are the default, uses AES-256-GCM. The AWS KMS guide describes AES-256-GCM as quantum resistant, with theoretical large-scale quantum attacks reducing effective security from 256 to 128 bits. The public-key parts of the service, which are RSA, ECDSA, EdDSA and ECDH, are the algorithm families the guide says Shor's algorithm would defeat on a sufficiently large quantum computer. Ciphertext produced under an RSA or elliptic-curve KMS key, and any data whose protection depends on those keys, is the part to review for harvest now, decrypt later exposure.

Teams that hold long-lived confidential data should first list which keys protect it. Run aws kms list-keys and aws kms describe-key to read each key's KeySpec. The KeySpec value is fixed at creation and cannot be changed, so a key that is RSA or elliptic-curve cannot be converted to a symmetric key in place. Check whether your data is encrypted directly with an asymmetric key, or whether a symmetric key wraps data keys that are themselves protected by RSA. Your data owner and security lead should record each finding and decide whether the data's required confidentiality period outlasts the window in which those classical algorithms remain safe.

On the transport side, AWS KMS supports hybrid post-quantum TLS, which combines ECDH with ML-KEM, on its service endpoints in all Regions where it is available, according to the Hybrid post-quantum TLS page checked on 2026-12-03. The Data Protection page says this support excludes China Regions and does not apply to FIPS endpoints in AWS GovCloud (US), and the two pages word the GovCloud case differently, so confirm GovCloud use with AWS. Hybrid TLS protects only the connection between your client and KMS, not the data under the keys, and it applies only when your client offers the hybrid key exchange. Confirm this per client by reading the keyExchange field in the tlsDetails section of CloudTrail events, which should show a value such as X25519MLKEM768.

Which KMS key specs and paths protect data, by algorithm

This table lists each protection layer in AWS KMS, the algorithm it uses, the key spec or setting that controls it, and the AWS documentation page the fact comes from, checked 2026-12-03. Read it to decide which data sits under classical public-key protection and which layers depend on symmetric keys or TLS settings. The main takeaway is that AES-256-GCM data keys and the hybrid TLS path differ in exposure, so the data lifetime question turns mostly on which RSA and elliptic-curve keys wrap or sign that data.

Protection layerAlgorithm and key specSource page
Symmetric data keysAES-256-GCM with 256-bit keys (SYMMETRIC_DEFAULT); SM4 128-bit in China RegionsKMS Key Spec Reference
RSA KMS keysRSA_2048, RSA_3072, RSA_4096 for RSAES_OAEP_SHA_256 or RSA signing; chosen per requestKMS Key Spec Reference, KMS Supported Algorithms
Elliptic curve KMS keysECC_NIST_P256, P384, P521, EDWARDS25519, SECG_P256K1; ECDSA and ECDH (P-256, P-384, P-521 only)KMS Supported Algorithms, KMS Key Spec Reference
Imported key material wrappingRSA wrapping key RSA_4096 recommended with RSAES_OAEP_SHA_256 or RSA_AES_KEY_WRAP_SHA_256; RSAES_PKCS1_V1_5 no longer supportedKMS Import Wrapping
HSM communicationECDH on secp384r1 (NIST P-384) with signed ephemeral keys and AES-256-GCM session keyKMS Internal Communication
Client TLS, classicTLS 1.2 minimum, TLS 1.3 recommended, perfect forward secrecy requiredKMS Data Protection
Client TLS, hybridECDH with ML-KEM hybrid key exchange, available on AWS KMS endpoints where the client offers itKMS Hybrid PQ TLS, KMS Data Protection
ML-KEM and ML-DSA keysML_KEM_512/768/1024 and ML_DSA_44/65/87; not available in China Regions, no importKMS Post-Quantum Keys, KMS Document History

Which parts of AWS KMS hold data that could be recorded and later decrypted

Harvest now decrypt later risk depends on which AWS KMS components protect data with public-key cryptography and which rely on symmetric keys or post-quantum options. The cards below separate those components so you can judge which data needs a longer-lived review.

SYMMETRIC_DEFAULT keys

The default key spec is AES-256-GCM with 256-bit keys, selected when CreateKey is called without a KeySpec value (except in China Regions, where it is a 128-bit SM4 key). AWS describes AES-256-GCM as quantum resistant, with theoretical large-scale quantum attacks reducing effective security from 256 to 128 bits. For data protected under these keys, check whether the 128-bit effective figure matches the retention period you need. Confirm your key specs with aws kms describe-key.

Key spec reference

RSA and ECC keys for encryption or key agreement

RSA KMS keys support RSAES_OAEP encryption, and ECC NIST curve keys support ECDH through DeriveSharedSecret. These are classical public-key algorithms that Shor's algorithm would defeat on a sufficiently large quantum computer, so ciphertext wrapped or key-agreed under them is the main harvest now decrypt later concern. Inventory which keys your applications use for these operations, since the algorithm is chosen per request and the key itself does not fix it.

Supported algorithms

Imported key material wrapped under RSA

Imported key material is wrapped with an RSA wrapping public key (RSA_2048, RSA_3072 or RSA_4096, with RSA_4096 recommended). Key material that you import has been exposed to the wrapping step, so ciphertext of that wrapping is a classical public-key artifact. Confirm which wrapping algorithm your import process uses, and note that RSAES_PKCS1_V1_5 is no longer supported. Wrapping public keys and import tokens expire after 24 hours.

Import wrapping docs

TLS sessions to KMS endpoints

All API calls are signed and sent over TLS 1.2 or later, with a perfect-forward-secrecy cipher suite. Hybrid post-quantum TLS, which combines ECDH with ML-KEM, is supported on KMS endpoints in most Regions, but clients must offer it and the sources do not confirm the GovCloud FIPS behavior. Check the keyExchange field in CloudTrail tlsDetails to see whether a session used hybrid key exchange. The sources do not say how long AWS retains recorded traffic.

Hybrid PQ TLS docs

HSM boundary

KMS keeps key material in FIPS 140-3 Security Level 3 validated HSMs, and plaintext key material never leaves the HSM boundary. China Regions use OSCCA-certified HSMs that are not validated under FIPS 140-3. Because the key material stays inside the HSM, the harvest now decrypt later risk sits in the public-key operations the HSM performs and the session that carries them, not in stored plaintext. The sources do not say how long AWS retains recorded traffic.

Data protection docs

How the exposure differs for China Regions, GovCloud and imported keys

In standard commercial Regions, the symmetric default is AES-256-GCM, and the public-key key specs include RSA, elliptic curve, Ed25519 and, since October 23, 2026, ML-KEM. Data encrypted with a symmetric KMS key is protected by AES-256-GCM, which AWS describes as quantum resistant with effective security reduced from 256 to 128 bits under theoretical large-scale attacks. Data protected only by RSA or elliptic-curve keys, or wrapped under them, is the part that a harvest now, decrypt later scenario would target.

  • Symmetric default: SYMMETRIC_DEFAULT is AES-256-GCM with 256-bit keys when CreateKey is called without a KeySpec value.
  • Public-key exposure: RSA encryption, RSA and ECDSA signing, and ECDH key agreement are the classical algorithms that Shor's algorithm would defeat on a sufficiently large quantum computer.
  • Post-quantum key specs: ML_DSA_44, ML_DSA_65, ML_DSA_87, ML_KEM_512, ML_KEM_768 and ML_KEM_1024 are listed, with ML-DSA available from June 13, 2025.
  • Hybrid TLS in transit: AWS KMS supports hybrid post-quantum TLS that combines ECDH with ML-KEM, and this protects data in transit only, not data under KMS keys.
  • Key specs are fixed: the KeySpec cannot change after creation, so a key created today keeps its algorithm for its lifetime.

Check which key specs hold the data you are assessing, then confirm the lifetime of that data against the algorithm family that protects it.

How to assess data lifetime for keys in your account

This sequence lets you list the AWS KMS keys whose protected data must stay confidential beyond the quantum transition, and confirm how each key is configured and how clients reach KMS. It ends with a dated record you can hand to a security or vendor-risk reviewer.

  1. Inventory keys that protect long-lived data

    Start by listing every KMS key in each account and Region, then mark the keys that protect data whose confidentiality must last beyond the transition, such as archived records, backups and regulated personal data. Data owners should make this call, since they know the retention period, and the security team should record it against each key alias. The step is closed when every key has a data owner, a retention note and a yes or no flag for long-lived confidentiality.

  2. Record each key's key spec

    For each flagged key, read its KeySpec with the DescribeKey call or the console, and note whether it is symmetric (SYMMETRIC_DEFAULT), RSA, elliptic curve or ML-KEM. Remember that KeySpec is set at creation and cannot be changed later, so a key that uses a classical public-key spec must be replaced to change its type. The step is closed when the spec of every flagged key is written into your inventory next to its data owner.

  3. Check the kms:KeySpec condition in policies

    Review the IAM and key policies that govern each flagged key and look for the kms:KeySpec condition key, which can limit which key specs principals may create or use. Also check the kms:SigningAlgorithm and kms:EncryptionAlgorithm condition keys, since they restrict which algorithms a principal may request. Record which principals can create keys and which can use them, and flag any policy that does not restrict key specs. The step is closed when each policy review is recorded with the principals and conditions found.

  4. Confirm client SDK support for hybrid TLS

    List the applications, SDKs and AWS services that call KMS for each flagged key, and check each client's version against the AWS SDK guide for post-quantum TLS. Hybrid ML-KEM key exchange is enabled by default in some SDK versions and needs an opt-in or a newer OpenSSL in others, and some SDKs have no planned support. Note that the server side uses s2n-tls and a client that does not offer the hybrid exchange falls back to classic key exchange. The step is closed when each client is marked as offering hybrid ML-KEM, not offering it, or unknown, with its version recorded.

  5. Read keyExchange in CloudTrail tlsDetails

    Query CloudTrail for KMS API events from the flagged keys and read the keyExchange value in the tlsDetails section, which should show a value containing MLKEM when hybrid key exchange was used. Calls from AWS services acting on your behalf may have no tlsDetails at all, so note those separately rather than counting them as classic. Consider an alarm for calls where keyExchange lacks MLKEM. The step is closed when you have a sample of events per client, each marked as hybrid, classic or no tlsDetails.

  6. Record the result and its date

    Combine the inventory, key specs, policy findings, client versions and CloudTrail samples into one record for each flagged key, stating the date of the check and the account and Region it covers. Note that the sources on this page do not say whether AWS will add post-quantum signing or encryption support to a given key type on any particular date, so confirm any roadmap question with AWS. Send the record to the data owner and security lead for sign-off. The step is closed when the dated record has been reviewed and approved by both parties.

Where the classical and post-quantum parts sit on a KMS call

The call starts at your client, which opens a TLS session to the AWS KMS endpoint. Hybrid post-quantum TLS, when offered, combines ECDH with ML-KEM for this session only, and it protects data in transit, not the data under your KMS keys. Once the request reaches the KMS service host, it talks to the HSM boundary over ECDH on P-384, and key material stays inside the HSM. Check the keyExchange field in CloudTrail tlsDetails to confirm which key exchange your client used.

The TLS session is classical or hybrid, while key material never leaves the HSM boundary.

What AWS has not published about data lifetime and key migration

The AWS sources checked on 2026-12-03 do not give a retention or harvesting timeline for data under AWS KMS keys, nor a committed date for the post-quantum changes still in progress. The cards below list each gap and what to ask AWS before you set a retention or migration plan that depends on it.

No retention or harvesting timeline

The AWS KMS documentation does not say how long a harvested ciphertext stays useful to an attacker, and it gives no estimate of when a quantum computer could break the RSA and elliptic-curve keys it uses. Without that timeline, you cannot set a safe retention period for data protected by these keys by reading AWS alone. Ask AWS for any internal or published estimate it uses, and record that the answer is not in the public docs if none exists. Treat the assumption as your own and document it.

Post-quantum keys page

No date for session authentication upgrade

AWS says it will upgrade session authentication to post-quantum cryptography in the fullness of time and aligned with industry standards, but the AWS post-quantum page gives no date. Hybrid ML-KEM key agreement for KMS endpoints is already in place, so this gap concerns session authentication, not key exchange. Ask AWS for a target window and for which authentication mechanisms the upgrade covers, and do not plan around a date AWS has not committed to.

AWS post-quantum page

PQ-HPKE encryption tracked without a date

AWS KMS has no direct Encrypt operation for ML-KEM keys. AWS says it tracks the IETF PQ-HPKE draft as a post-quantum replacement for RSA-based encryption, but that is a statement of tracking, not a committed release. Ask AWS whether it plans to ship PQ-HPKE on KMS, and whether any release date or interim guidance exists. Until then, data encrypted under RSA keys keeps the classical exposure the earlier cards describe.

Post-quantum keys page

No direct Encrypt for ML-KEM keys

ML-KEM keys in AWS KMS support Encapsulate and Decapsulate, and the data key pair operations, but not a direct Encrypt operation. This means data you protect with ML-KEM must go through a key encapsulation pattern in your own application code. Ask AWS whether a direct Encrypt operation is planned and what the supported pattern is for your use case. Map which workloads would need code changes before you choose ML-KEM over an RSA key.

Post-quantum keys page

No import support for ML-DSA or ML-KEM

Importing key material is not supported for ML-DSA or ML-KEM KMS keys, so you cannot bring an existing post-quantum key into KMS from another system. Any migration to these key types must generate the key inside KMS, which affects key ownership and any existing key escrow arrangements. Ask AWS whether import support is planned for these key specs and by what date. Record the constraint in your migration plan now, since it changes how you move keys.

Import wrapping page

What goes wrong when SDKs or middleboxes fall back to classical TLS

Hybrid post-quantum TLS to AWS KMS is only as strong as the client that opens the connection. The AWS KMS server side uses the open source s2n-tls library, but the client must offer the hybrid key exchange, and a client that does not offer it uses classic key exchange. In that case the session is negotiated on ECDH alone, which the page on Hybrid post-quantum TLS does not present as a failure. The call still succeeds, so nothing in the application's normal output shows that the protection of data in transit has not changed. For a data owner whose concern is harvest now decrypt later, the practical effect is that recorded traffic to KMS for a given session may remain protected only by classical key agreement.

Support differs by language and SDK version, so the reader should confirm the exact client they run rather than assume it. The AWS SDK guide lists post-quantum TLS as enabled by default in some runtimes and versions, such as Go 1.24 and later and Java AwsCrtHttpClient from 2.35.11, and depends on OpenSSL 3.5 or later or an opt-in setting for others. The Java example in the configuration guide enables the feature with postQuantumTlsEnabled(true) on the AWS CRT HTTP client and says to use aws-crt-client version 2.30.22 or later to enable ML-KEM. Teams should check their dependency versions, their build lockfiles and the runtime they actually deploy, since an older library can silently negotiate ECDH.

Calls that AWS services make on your behalf add a further gap. The CloudTrail tlsDetails section, where the keyExchange value such as X25519MLKEM768 appears, is absent when an AWS service calls KMS for you, so the normal check cannot confirm the key exchange for those calls. Do not treat a missing tlsDetails field as evidence of hybrid TLS. Alarm on KMS calls where keyExchange is present but lacks MLKEM, and for service-originated calls ask the service owner how they verify the key exchange. Reviewers should record which KMS callers they could not verify, since that list is the part of the data-lifetime assessment that remains unresolved.

Questions data owners ask about AWS KMS and harvest now decrypt later

Is AWS KMS quantum safe?

The sources do not support calling AWS KMS quantum safe, and this page does not make that claim. AWS documents that KMS supports hybrid post-quantum TLS (ECDH combined with ML-KEM) on service endpoints in most Regions, and that ML-DSA signing and ML-KEM keys are available as key specs. AWS describes AES-256-GCM, the symmetric algorithm used under KMS keys, as quantum resistant. The classical RSA, ECDSA, EdDSA and ECDH key types remain available, and AWS documents that Shor's algorithm would defeat those families on a sufficiently large quantum computer. Confirm with AWS which of your keys and endpoints use which algorithms.

Does AES-256-GCM data under KMS keys need post-quantum action?

The AWS documentation describes AES-256-GCM as quantum resistant, and it notes that theoretical large-scale quantum attacks would reduce effective security from 256 to 128 bits. Hybrid post-quantum TLS protects data in transit to KMS, not the data encrypted under KMS keys. Whether data needs action depends on how long it must stay confidential. Data protected under a symmetric KMS key still depends on the wrapping and access path, so review which asymmetric keys or imported key material wrap those data keys, since those are the classical public-key components the sources name.

Which AWS SDK versions enable post-quantum TLS to KMS?

The AWS SDK guide lists post-quantum TLS enabled by default in Go 1.24 and later, Node.js 22.20 and 24.9.0 and later, Kotlin SDK 1.5.78 and later on Linux, Rust SDK clients released after 29-Aug-2025, and the Java AwsCrtHttpClient from 2.35.11. For Java, aws-crt-client version 2.30.22 or later enables ML-KEM with postQuantumTlsEnabled(true). The C++ SDK, AWS CLI, Python, PHP, Ruby and .NET depend on OpenSSL 3.5 or later or an opt-in client. AWS SDK for SAP, Swift and Tools for Windows PowerShell have no plans to support it. Check your runtime against the guide before you assume any client offers the hybrid key exchange.

Does enabling hybrid TLS to KMS cost extra?

The sources do not state a price for hybrid post-quantum TLS to KMS, and this page does not estimate one. The cost questions to raise are whether your SDK, runtime or OpenSSL version already offers the hybrid key exchange, which may require an upgrade and regression testing, and whether any service you use needs a different client. Ask AWS whether there is any charge associated with the feature, and ask your engineering team what a runtime upgrade would cost in testing time. The effort depends on your current SDK versions and your change process.

What breaks when you move KMS clients to post-quantum TLS?

The main risk is a client that does not offer the hybrid key exchange, which will continue to use classic key exchange rather than fail. Breakage is more likely in clients where you pin TLS settings, rely on a library that predates the feature, or use the FIPS endpoints in AWS GovCloud (US), where the Data Protection and Hybrid PQ TLS pages give different wording. Test the change in a non-production account first, and confirm the keyExchange value in CloudTrail for representative calls. Note that tlsDetails is absent when an AWS service calls KMS on your behalf.

What should we ask AWS about KMS and post-quantum plans?

Ask AWS for written answers on five points: which of your KMS endpoints and Regions currently negotiate hybrid post-quantum TLS, whether hybrid TLS applies to the FIPS endpoints in AWS GovCloud (US), which of your key specs are classical and whether any have a published migration path, what the date is for upgrading session authentication to post-quantum cryptography (AWS has said only that it will happen in due course), and whether any charge applies. Record the answers with their dates, since the AWS pages change.

Can our team check this alone or do we need outside help?

Your team can run most of the checks alone. Inventory your KMS key specs, confirm the SDK and runtime versions of each client, and review CloudTrail for the keyExchange field on representative calls. Those steps need access to your accounts and clients, not special tooling. Outside help is worth considering when the inventory spans many accounts and services, when you need a documented test plan for an audit, or when a client cannot be upgraded. DeployOpen can plan, implement and test that work inside your environment on a fixed scope agreed in writing. DeployOpen does not issue audit reports or certifications.

How DeployOpen helps teams assess KMS data lifetime

DeployOpen helps data owners and security leads work out how long data under AWS KMS keys stays sensitive, and which keys protect it. We start from the key specs, endpoints and clients your data depends on, then document the findings so your team can decide what to change and when.

How we scope

  • We agree a written scope listing the KMS keys, key specs and data flows to review before work starts.
  • We confirm which AWS Regions, including China and GovCloud, and which FIPS endpoints are in use.
  • We identify the data owners and retention periods that set how long each dataset must stay confidential.

How we build

  • We inventory each KMS key by key spec, such as SYMMETRIC_DEFAULT, RSA or ECC, and record its use.
  • We check which callers negotiate hybrid post-quantum TLS, using the keyExchange field in CloudTrail events.
  • We map which stored data is protected by RSA or elliptic-curve keys and flag it for lifetime review.

How we hand over

  • We deliver a written assessment with each KMS key, its data lifetime and the dependencies we found.
  • We list the open questions to confirm with AWS, including items the AWS documentation does not settle.
  • We provide a configuration and monitoring checklist so your team can repeat the review on its own.

How we support

  • Ongoing support is available as a retainer for re-checking key specs and TLS settings as AWS publishes changes.
  • We can retest the inventory after your client libraries or SDK versions change.
  • We keep the findings current when new AWS key types, such as ML-DSA and ML-KEM, reach your accounts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.