Why this matters now
If your data must stay confidential for years, treat it as exposed to future quantum attacks today. Attackers can record encrypted traffic now and decrypt it once a capable quantum computer exists. This is called "harvest now, decrypt later": the deadline for protecting key exchange depends on how long your data must stay secret, not only on when the first large quantum computer appears.
The good news: on AWS, most of the hard work is already done for you. Post-quantum key exchange is live on many service endpoints, the standard libraries support it, and you can sign with post-quantum keys in AWS KMS. Your job is to find where your own cryptography lives, turn on what AWS offers, and build the ability to swap algorithms again later.
This guide is for builders and platform teams running workloads on AWS. It covers what changed recently, what AWS supports today, and a practical migration plan with commands you can run.
What changed in 2025 and 2026
Two things moved at once: the cost of breaking RSA and ECC dropped sharply on paper, and regulators turned the migration into dated deadlines.
The attack estimates keep falling. In 2019 the reference estimate to factor RSA-2048 was about 20 million physical qubits running for 8 hours. In May 2025 Google's Craig Gidney brought that under 1 million qubits in under a week, with the same hardware assumptions. In 2026 several teams went further:
| Date | Team | Target | Physical qubits | Runtime |
|---|---|---|---|---|
| Oct 2026 | Alice & Bob (cat qubits) | RSA-2048 | 22,593 | 3.14 days |
| Mar 2026 | Cain et al. (Oratomic, Caltech), neutral atoms | RSA-2048 | about 11,000 to 14,000 | about 100 times longer than its few-day elliptic-curve runs |
| Mar 2026 | Babbush et al. (Google Quantum AI and others) | 256-bit elliptic curve | under 500,000 | minutes |
| Feb 2026 | Webster et al. (Iceberg Quantum) | RSA-2048 | under 100,000 | about 1 month |
| May 2025 | Gidney (Google Quantum AI) | RSA-2048 | under 1 million | under 1 week |
None of these machines exists yet, and none of these papers predicts a date. The trend is what matters: every new paper needs less hardware, and elliptic curves (what most TLS uses today) now look cheaper to break than RSA. (estimates summary)
The deadlines are now final. NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) in August 2024, and selected HQC as a backup KEM in March 2025. On 27 October 2026 NIST published the final NIST IR 8547: quantum-vulnerable public-key algorithms are deprecated after 2030 and disallowed after 2035, regardless of key size (analysis). Moving to bigger RSA or ECC keys no longer buys time.
The protocol is standardised. In August 2026 the IETF published RFC 10024, a Proposed Standard that defines the hybrid TLS 1.3 groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. These are the names you will see in AWS security policies and CloudTrail logs.
A new result on lattices (30 November 2026). Anthropic published four theoretical papers on lattice cryptography, with Lean 4 proofs, found by an internal Claude research model. The lead paper describes a quasi-polynomial quantum algorithm against module lattices, the math under ML-KEM and ML-DSA. The result is asymptotic: at the parameter sizes ML-KEM and ML-DSA actually use, it is far slower than existing attacks, and Anthropic still calls both among the strongest public-key algorithms available. What it changes is long-term confidence in structured lattices, while the other three papers increase confidence in unstructured ones. Cryptographers quoted in coverage advise against delaying migration, because RSA and ECC are the easier target for a future quantum computer. (FAQ, news report)
This followed a July 2026 result in which an Anthropic model found an improved key-recovery attack on HAWK, a lattice-based signature candidate in NIST's additional-signature process. HAWK is not a standard and is not used by AWS, and Anthropic said the attack does not extend to lattice cryptography in general (CyberScoop, CSO Online).
The practical lesson for builders: migrate now, keep hybrid modes (classical plus post-quantum) where you can, and build so you can swap algorithms again without rewriting applications. Algorithms from a different math family, such as SLH-DSA (hash-based, already a FIPS standard) and HQC (code-based, selected by NIST but not yet a final standard), are the backup options to watch.
What AWS gives you today
AWS splits the problem in two. Confidentiality (stopping harvest now, decrypt later) is handled with hybrid key exchange: classical ECDH plus ML-KEM in the same TLS handshake, so the connection is safe if either one holds. Authenticity (signatures, certificates, code signing) is handled with ML-DSA. Symmetric encryption such as AES-256 is not at risk and does not need to change.
The key point for planning: some of this is on by default, and some only works if you turn it on.
| Service | Post-quantum feature | On by default? |
|---|---|---|
| AWS KMS, ACM, Secrets Manager, Payment Cryptography endpoints | Hybrid ML-KEM TLS | Yes, if your client offers it (KMS docs) |
| Secrets Manager Agent (Workload Credentials Provider) 2.0.0+, Lambda Extension v19+, CSI Driver 2.0.0+ | Hybrid ML-KEM TLS from the client side | Yes (announcement, Apr 2026) |
| Amazon S3 (regional, S3 Tables, Express One Zone, S3 Vectors, PrivateLink) | Hybrid ML-KEM TLS | Yes, if your client offers it (announcement, Nov 2026) |
| Amazon S3 and CloudTrail | Negotiated key exchange recorded in tlsDetails.keyExchange | Yes, but object-level requests appear only if you log S3 data events (announcement, 17 Nov 2026) |
| AWS Site-to-Site VPN | ML-KEM as an additional IKEv2 key exchange | No: set it in tunnel options (announcement, 19 Nov 2026) |
| Amazon DocumentDB | Hybrid post-quantum key exchange for TLS 1.3 | Only on engine 8.0.3 or later, instance-based clusters; upgrade the cluster |
| Amazon CloudFront | Hybrid ML-KEM for viewer connections | Yes, on existing policies (announcement) |
| Application and Network Load Balancers | Hybrid ML-KEM TLS | No: pick a PQ security policy (announcement, Nov 2025) |
| Amazon API Gateway | PQ option in TLS security policies | No: pick a PQ policy (announcement) |
| AWS Transfer Family (SFTP) | Hybrid ML-KEM for SSH | No: pick a PQ security policy |
| RDS and Aurora PostgreSQL 18+ | Hybrid ML-KEM TLS to the database | No: set ssl_groups (Aurora announcement, Oct 2026) |
| RDS for MySQL, Aurora MySQL, RDS for MariaDB | Hybrid ML-KEM TLS to the database | Depends on engine version; check your engine's release notes |
| AWS KMS | ML-DSA signing keys (ML_DSA_44, 65, 87) | No: create new keys (docs) |
| AWS KMS | ML-KEM keys for Encapsulate and Decapsulate | No: create new keys; not in UAE, Bahrain or China Regions (announcement, Oct 2026) |
| AWS Private CA | ML-DSA CAs, certificates, CRLs and OCSP | No: create a new CA hierarchy (announcement) |
| IAM Roles Anywhere | ML-DSA trust anchors and certificates | No: register an ML-DSA CA (announcement, Mar 2026) |
Under all of this sits AWS-LC, the open-source crypto library AWS uses. According to AWS's 26 November 2026 post, AWS-LC FIPS 3.0 was the first cryptographic library to include ML-KEM in a FIPS 140-3 validation. The same post measures the cost: hybrid ML-KEM adds roughly 12 microseconds to a full connection setup, and every ML-DSA parameter set is significantly faster than RSA-2048. AWS-LC uses machine-checked proofs for its most critical code, and its long-term support releases keep the ABI stable, so you can update the library without rebuilding your application. That is what crypto agility looks like in practice.
Quick tutorial: what to look at and what to set up
Part 1 tells you where you stand. Part 2 switches on what AWS already offers. Replace the ARNs, Regions and IDs with your own.
Part 1: What to look at
Check 1. Are your clients already negotiating post-quantum TLS with AWS?
CloudTrail records the negotiated key exchange in tlsDetails.keyExchange for AWS KMS calls (KMS docs). This quick check uses Event history, which covers only management events from the last 90 days in one Region:
aws cloudtrail lookup-events \ --lookup-attributes AttributeKey=EventSource,AttributeValue=kms.amazonaws.com \ --max-results 50 --region eu-south-2 \ | jq -r '.Events[].CloudTrailEvent | fromjson | .tlsDetails.keyExchange' \ | sort | uniq -c X25519MLKEM768 (or another value containing MLKEM) means the call used hybrid post-quantum key exchange. A classical value such as X25519 means the client did not offer ML-KEM: the SDK or runtime is too old, or something on the network path removed it. null usually means an AWS service made the call on your behalf; those events have no tlsDetails and show the service in userIdentity.invokedBy. For your own calls, userIdentity tells you which role or application to fix.
Since 17 November 2026, Amazon S3 records the same field. Be aware that object-level S3 requests (such as GetObject and PutObject) are data events: they never appear in Event history, and trails only log them if you enable S3 data events, which costs extra. To check S3 traffic, enable data events on a trail and query the logs with CloudTrail Lake or Athena.
Check 2. Can your runtimes do it at all?
Post-quantum TLS is decided by the client library, not by your code. Quick checks:
# Python (boto3): needs OpenSSL 3.5 or later python3 -c "import ssl; print(ssl.OPENSSL_VERSION)" # Does the network path to AWS allow a hybrid handshake? # Needs OpenSSL 3.5 or later on the machine you test from. openssl s_client -connect kms.eu-south-2.amazonaws.com:443 -groups X25519MLKEM768 -tls1_3 </dev/null 2>/dev/null | grep -i 'group' For Java, use AWS SDK for Java v2.35.11 or later with the AWS CRT HTTP client, which enables it by default from that version (S3 docs). For Rust, the default TLS provider supports X25519MLKEM768; to make it the first choice, add the rustls crate and enable its prefer-post-quantum feature (AWS SDK for Rust docs). AWS also lists the Go and Node.js SDKs as supported at current versions (AWS blog). Per-language details are in Enabling hybrid post-quantum TLS.
Check 3. Which of your endpoints are not PQ-ready?
AWS publishes a PQC Readiness Scanner built on an AWS Config conformance pack. It checks ALB and NLB listeners and API Gateway REST, HTTP and WebSocket APIs, and flags those whose TLS policy has no post-quantum option. CloudFront is not checked, because its existing policies already offer hybrid key exchange. Classic Load Balancers are out of scope because they do not support TLS 1.3. AWS Config must already be recording these resource types, and you need the AWS SAM CLI.
git clone https://github.com/aws-samples/sample-PQC-Readiness-using-AWS-Config.git cd sample-PQC-Readiness-using-AWS-Config/installation sam build chmod +x deploy-per-regions.sh ./deploy-per-regions.sh eu-south-2 If you only want a quick look, list your load balancer listeners and their policies:
for lb in $(aws elbv2 describe-load-balancers --query 'LoadBalancers[].LoadBalancerArn' --output text); do aws elbv2 describe-listeners --load-balancer-arn "$lb" \ --query 'Listeners[?SslPolicy!=null].[ListenerArn,SslPolicy]' --output text done Any policy without PQ in its name needs attention.
Check 4. Where else do you use public-key crypto?
AWS cannot see inside your application. Write down, per workload: TLS between your own services, database connections, VPN and SSH, signing (code, JWTs, documents, firmware), and any data you encrypt for a partner. For each one, note how long the data must stay secret. Anything sensitive beyond 2030 goes first.
Part 2: What to set up
Step 1. Switch load balancers to a post-quantum policy.
AWS recommends ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, or ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09 if you need FIPS. Watch out: the console defaults to the PQ policy, but the CLI, CloudFormation and CDK still default to ELBSecurityPolicy-2016-08, which has no post-quantum support.
aws elbv2 modify-listener \ --listener-arn arn:aws:elasticloadbalancing:eu-south-2:111122223333:listener/app/my-alb/abc/def \ --ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 In CDK, set it explicitly so new stacks do not fall back to the old default:
alb.addListener('Https', { port: 443, certificates: [cert], // Cast the policy name in case your CDK version has no enum member for it yet sslPolicy: 'ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09' as elbv2.SslPolicy, }); Clients that do not support ML-KEM still connect with classical key exchange, so this change is safe to roll out.
Step 2. Turn it on for your SDK clients.
In Java, AWS SDK v2.35.11 and later with the AWS CRT HTTP client already prefer hybrid post-quantum TLS. On older versions, set the flag when you build the client, as shown in the KMS docs:
SdkAsyncHttpClient http = AwsCrtAsyncHttpClient.builder() .postQuantumTlsEnabled(true) .build(); KmsAsyncClient kms = KmsAsyncClient.builder() .httpClient(http) .build(); In Python, no code change is needed: upgrade the base image or Lambda runtime to one that ships OpenSSL 3.5 or later. Then run Check 1 again and confirm the value changed.
Step 3. Turn it on for your databases.
For RDS and Aurora PostgreSQL 18 and later, set ssl_groups to a hybrid group from the allow list. On Aurora it lives in the cluster parameter group. Values are comma-separated; an OpenSSL-style colon-separated list is rejected. ML-KEM groups only work over TLS 1.3. If you set only X25519MLKEM768, clients that cannot negotiate it may fail to connect, so test first or also allow a classical group from the list.
aws rds modify-db-parameter-group \ --db-parameter-group-name my-pg18-params \ --parameters "ParameterName=ssl_groups,ParameterValue=X25519MLKEM768,ApplyMethod=immediate" For MySQL and MariaDB, post-quantum TLS depends on the engine version, so check the release notes for yours. In every case your database driver must also use a TLS library that supports ML-KEM, such as OpenSSL 3.5 or later.
Step 3b. Turn it on for Site-to-Site VPN tunnels.
Since 19 November 2026, you can add ML-KEM as an extra IKEv2 key exchange round on top of the classical Diffie-Hellman group. The value is the IANA method number: 35 is ML-KEM-512, 36 is ML-KEM-768, 37 is ML-KEM-1024.
cat > pq-tunnel.json <<'EOF' { "Phase1AdditionalKeyExchanges": [ {"AdditionalKeyExchangeRound": 1, "KeyExchangeMethods": [{"Value": 36}], "Requirement": "optional"} ] } EOF aws ec2 modify-vpn-tunnel-options \ --vpn-connection-id vpn-0123456789abcdef0 \ --vpn-tunnel-outside-ip-address 203.0.113.10 \ --tunnel-options file://pq-tunnel.json Start with optional, so the tunnel still comes up if your customer gateway does not support it yet, and switch to required once it does. Your gateway must support it too (strongSwan, for example, with a proposal such as aes256-sha256-ecp384-ke1_mlkem768). Turn on tunnel logging and look for Additional Key Exchange 1: 36 in the IKE log stream to confirm. Check Phase 2 separately; one early test found it was not applied there even when configured.
Step 4. Create a post-quantum signing key in KMS.
Signatures cannot be fixed after the fact, so anything that ships and lives for years (firmware, packages, long-term documents) should start signing with ML-DSA now.
# Create the key (ML_DSA_65 is a good default; ML_DSA_87 for roots of trust) aws kms create-key \ --key-spec ML_DSA_65 \ --key-usage SIGN_VERIFY \ --description "Release artifact signing (ML-DSA-65)" \ --query KeyMetadata.KeyId --output text # Give it an alias (use the KeyId printed above) aws kms create-alias \ --alias-name alias/release-signing-pq \ --target-key-id <KeyId> # Sign a message of up to 4 KB aws kms sign \ --key-id alias/release-signing-pq \ --message fileb://manifest.json \ --message-type RAW \ --signing-algorithm ML_DSA_SHAKE_256 \ --query Signature --output text | base64 -d > manifest.sig # Verify aws kms verify \ --key-id alias/release-signing-pq \ --message fileb://manifest.json \ --message-type RAW \ --signing-algorithm ML_DSA_SHAKE_256 \ --signature fileb://manifest.sig For files larger than 4 KB, sign a small manifest that contains file hashes, or compute the ML-DSA message representative yourself and use --message-type EXTERNAL_MU (see the KMS ML-DSA docs). Use aws kms get-public-key to hand the public key to whoever verifies offline.
Step 5. Build a post-quantum private PKI.
If you run mTLS, device identity or code signing on AWS Private CA, create a parallel ML-DSA hierarchy now rather than replacing the old one. AWS's own reference design uses an ML-DSA-87 root and ML-DSA-65 for the subordinate CA and code-signing key (AWS blog). Issue new certificates from it to the systems that already accept ML-DSA, and keep the classical hierarchy for the rest until your clients catch up. IAM Roles Anywhere accepts ML-DSA trust anchors since March 2026.
Step 6. Lock it in with policy.
Once a workload has moved, stop it moving back. SCPs can use the kms:KeySpec condition key to control which key types principals may create, as AWS shows in its ML-DSA policy post. Keep the readiness scanner from Check 3 running so any new listener without a PQ policy shows up as non-compliant.
One thing that can break
The hybrid handshake is about 1,600 bytes larger. Some older firewalls and proxies that inspect TLS treat it as malformed and drop the connection. If a client works with -groups X25519 but fails with -groups X25519MLKEM768, the network path is the problem, not AWS. Fixing it usually means a rule change or a firmware update on the appliance.
Checklist
Work through it in this order: confidentiality first (it is the one attackers can exploit retroactively), then signatures, then lock-in. Your hard outer deadline is NIST's: deprecated after 2030, disallowed after 2035.
This month
- ✅ Check
tlsDetails.keyExchangein CloudTrail for KMS and S3 and list the callers still on classical key exchange - ✅Upgrade SDKs and runtimes for those callers (OpenSSL 3.5+ for Python, Java SDK v2.35.11+ with CRT, current Go, Node.js, Rust)
- ✅ Deploy the PQC Readiness Scanner and switch every ALB and NLB listener to a
PQpolicy - ✅ Set the PQ policy explicitly in CloudFormation and CDK templates
- ✅ Test one path through your corporate network with
openssl s_client -groups X25519MLKEM768
This quarter
- ✅ Enable PQ TLS on API Gateway, Transfer Family, Site-to-Site VPN and your databases
- ✅ Create ML-DSA signing keys in KMS for release artifacts and other long-lived signatures
- ✅ Stand up a parallel ML-DSA hierarchy in AWS Private CA
- ✅ Finish the inventory of public-key crypto inside your own applications
This year
- ✅ Move internal service-to-service TLS and partner integrations to hybrid key exchange
- ✅ Add SCPs and Config rules so new resources cannot fall back to classical-only crypto
- ✅ Keep crypto behind libraries you can update (AWS-LC LTS, s2n-tls) so the next algorithm change is a version bump
Nobody knows when a cryptographically relevant quantum computer will arrive, but the estimates keep shrinking and the deadlines are now fixed. On AWS, the biggest risk is no longer missing features. It is old clients and default settings that quietly fall back to classical crypto. Measure it in CloudTrail, switch on the PQ policies, start signing with ML-DSA, and keep your crypto in libraries you can update. Then the next change, whether driven by a quantum breakthrough or a new result on lattices, is a routine upgrade instead of an emergency.
Sources
- NIST IR 8547 (final), Transition to Post-Quantum Cryptography Standards
- RFC 10024, PQ/T Hybrid Key Agreement Mechanisms for TLS 1.3
- AWS post-quantum cryptography migration guide
- AWS post-quantum confidentiality readiness by service
- Using hybrid post-quantum TLS with AWS KMS
- Security policies for your Application Load Balancer
- Automating post-quantum cryptography readiness using AWS Config
- ML-DSA keys in AWS KMS
- Quantum-resistant signing on AWS, Part 2: Enforce your ML-DSA algorithm policy with SCPs and IAM
- Post-quantum (ML-DSA) code signing with AWS Private CA and AWS KMS
- Make post-quantum cryptography updates routine with AWS-LC
- Trying out post-quantum TLS key exchange with RDS for PostgreSQL
- AWS Site-to-Site VPN post-quantum key exchange, hands-on test
- ML-KEM on AWS: validating negotiation in CloudTrail (AWS Builder Center)
- Published estimates for breaking RSA-2048, 2019 to 2026
