AWS KMS client, SDK and service integration compatibility for post-quantum use

AWS KMS hybrid post-quantum TLS depends on the client offering the hybrid key exchange, so SDK and runtime versions decide what a call actually uses. Test each client before changing key types.

On this page

Does your AWS KMS client actually negotiate post-quantum TLS?

AWS KMS hybrid post-quantum TLS, which combines ECDH with ML-KEM, depends on the client offering the hybrid key exchange. A client that does not offer it falls back to classic key exchange, and the connection still succeeds, so a working KMS call does not prove that post-quantum key exchange was used. The AWS KMS documentation checked on 2026-12-03 says hybrid TLS is supported on all endpoints in all Regions where it is available, except China Regions. The SDK platform notes, dated 6 November 2025, describe which SDK versions enable it. Changes to key specs are a separate question, covered by the sibling pages on key specs and post-quantum upgrades.

Start with the runtime, not the SDK version alone. The SDK guide lists post-quantum TLS as 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 August 2025, and Java AwsCrtHttpClient from 2.35.11. The C++ SDK, AWS CLI, Python, PHP, Ruby and .NET depend on OpenSSL 3.5 or later or on an opt-in client. The AWS SDK for SAP, Swift and Tools for Windows PowerShell have no plans to support it. For Java, the guide shows postQuantumTlsEnabled(true) on the AWS CRT HTTP client and says to use aws-crt-client 2.30.22 or later to enable ML-KEM. Confirm the exact versions in your own build, since a bundled or pinned library can override what the application declares.

Which SDK and runtime versions offer hybrid ML-KEM TLS to AWS KMS

This table lists the SDKs and runtimes in the AWS SDK guide, with the minimum version that enables hybrid ML-KEM TLS to AWS KMS and the source and date for each entry. Read the rows in three groups: runtimes where it is on by default, runtimes that depend on OpenSSL 3.5 or later or an opt-in client, and SDKs with no plans. Confirm your exact version against the guide before you rely on it, because the guide changes.

Language or runtimeMinimum version and statusSource and date
GoEnabled by default from Go 1.24 and laterSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
Node.jsEnabled by default from 22.20 and 24.9.0 and laterSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
Kotlin SDKEnabled by default from 1.5.78 and later, on LinuxSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
Rust SDKEnabled by default in clients released after 29-Aug-2025SDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
Java (AwsCrtHttpClient)Enabled by default from aws-crt-client 2.35.11; the example also works from 2.30.22 with postQuantumTlsEnabled(true)SDK PQ TLS Guide and KMS Configure PQ TLS, checked 2026-12-03
C++ SDK, Python, PHP, Ruby, .NET, AWS CLIDepends on OpenSSL 3.5 or later or an opt-in client; confirm your buildSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
AWS SDK for SAPNo plans to support hybrid ML-KEM TLSSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)
Swift and Tools for Windows PowerShellNo plans to support hybrid ML-KEM TLSSDK PQ TLS Guide, checked 2026-12-03 (platform note dated 6-Nov-2025)

Which calling services and client paths reach KMS

A compatibility test plan has to cover every path that reaches AWS KMS, not only the applications a team owns. The paths below differ in which SDK or library opens the TLS connection, and in whether CloudTrail records the tlsDetails needed to confirm hybrid key exchange.

Direct SDK and CLI calls

Applications that call KMS through an AWS SDK or the AWS CLI open the TLS connection themselves, so the client version and runtime decide whether the hybrid key exchange is offered. The SDK guide lists post-quantum TLS as on by default in some SDK and runtime versions, and depends on OpenSSL 3.5 or later or an opt-in setting in others, such as the C++ SDK, AWS CLI, Python and .NET. Test each application's actual SDK and runtime version, and confirm the setting with the SDK documentation. Use the postQuantumTlsEnabled(true) option on the Java AWS CRT client, which needs aws-crt-client 2.30.22 or later to enable ML-KEM.

SDK PQ TLS guide

AWS services calling KMS for you

Several AWS services call KMS on the customer's behalf when they encrypt or decrypt data, such as storage and database services that use a customer managed key. Those calls do not carry the customer's client, so the customer cannot set the SDK or confirm the key exchange on them. The KMS hybrid TLS page says tlsDetails is absent in CloudTrail for these calls, which means a CloudTrail check cannot confirm hybrid key exchange for them. Put these calls on the test plan as a gap to confirm with AWS, not as a passed check.

KMS hybrid PQ TLS

Server-side AWS-LC and s2n-tls

On the AWS side, the KMS endpoint uses the open-source s2n-tls library for the server half of the hybrid handshake, and AWS-LC is AWS's FIPS 140-3 validated cryptographic library that includes ML-KEM. A client that does not offer the hybrid key exchange falls back to classic key exchange, so the server side does not decide the outcome alone. Test the client half in your own environment, and treat the server library as a fact to record from AWS documentation rather than a setting you control.

AWS PQC page

FIPS endpoints and GovCloud wording

The Data Protection page says hybrid post-quantum TLS is not supported for FIPS endpoints in AWS GovCloud (US), while the Hybrid post-quantum TLS page describes support on FIPS endpoints in all Regions where it is available. These two statements do not match, so GovCloud and FIPS workloads need a written answer from AWS before the test plan can pass them. Confirm which endpoint your workload uses, and record the answer with its date.

KMS data protection

Verifying key exchange in CloudTrail

For calls that CloudTrail records with tlsDetails, the keyExchange field shows the negotiated group, such as X25519MLKEM768 for hybrid exchange. Build a check that reads this field on each KMS event and alarms when it lacks MLKEM, so that clients that quietly fall back to classic key exchange are caught. Scope the check to the calls that have the field, and handle the calls without it as a separate item.

KMS hybrid PQ TLS

How the handshake differs by client, endpoint and Region

Some AWS SDK clients offer the hybrid key exchange without extra setup once they reach the versions the SDK guide lists. In those clients the handshake to AWS KMS can use ECDH combined with ML-KEM, provided the client and the endpoint both support it. The server side uses the open source s2n-tls library, and a client that does not offer the hybrid key exchange falls back to classic key exchange.

  • Go 1.24 and later: the SDK guide lists post-quantum TLS as enabled by default.
  • Node.js 22.20 and 24.9.0 and later: the guide lists the same default behavior for these releases.
  • Kotlin SDK 1.5.78 and later on Linux: listed as enabled by default on this platform only.
  • Rust SDK clients released after 29-Aug-2025: the guide lists default enablement for these clients.
  • Java AwsCrtHttpClient from 2.35.11: the guide lists it as a default-enabled client from this version.

Confirm the exact client version and runtime you deploy against the SDK guide, because defaults can differ by platform. Check the keyExchange field in CloudTrail to see what was negotiated in practice.

Where the hybrid key exchange is negotiated on a KMS call

The diagram starts with an application calling AWS KMS through an SDK, which opens a TLS connection to the KMS endpoint and offers a key exchange group. If the client offers the hybrid group that combines ECDH with ML-KEM, the handshake negotiates it, and CloudTrail records the result in the keyExchange field of tlsDetails. If the client does not offer it, the handshake falls back to classic ECDH, and the record shows no MLKEM value. Calls that AWS services make on the customer's behalf have no tlsDetails entry, so check those separately.

Shows where the hybrid group is negotiated and how the CloudTrail record reflects it.

How to test each KMS client before changing key types

This sequence confirms which clients and services call AWS KMS, whether each one negotiates hybrid post-quantum TLS, and whether it can use ML-KEM or ML-DSA keys before any key type changes in production. Each step ends with a check that you can record as evidence for your inventory.

  1. Inventory every KMS client and calling service

    Build a list of every application, SDK, CLI, pipeline and AWS service that calls AWS KMS, including services that call KMS on your behalf, such as those that encrypt volumes, databases or secrets. For each one, record the language runtime, SDK or CLI version, the KMS key IDs it uses and the owning team. Calls made by AWS services on your behalf do not carry tlsDetails in CloudTrail, so mark those separately. Done when every calling principal and key ID appears in one inventory, reviewed by the owner of each workload.

  2. Confirm SDK runtime versions against the SDK guide

    For each client in the inventory, compare its SDK and runtime version against the AWS SDK post-quantum TLS guide. The guide lists post-quantum TLS as enabled by default in some runtimes and versions, such as Go 1.24 and later, and says other SDKs, including the AWS CLI, Python, PHP, Ruby and .NET, depend on OpenSSL 3.5 or later or on an opt-in client. Some SDKs, including SAP, Swift and Tools for Windows PowerShell, have no plans to support it. Record for each client whether it is enabled by default, opt-in or unsupported. Done when every client has a recorded status and a named owner for any gap.

  3. Enable or upgrade clients that need it

    For clients that support hybrid post-quantum TLS but do not enable it by default, turn it on in the client configuration. In the Java example, this means setting postQuantumTlsEnabled(true) on the AWS CRT HTTP client, using aws-crt-client version 2.30.22 or later to enable ML-KEM. For clients whose runtime is too old, plan an upgrade through the owning team's normal release process. Confirm each change in a non-production environment first. Done when each client in the inventory is either upgraded and enabled, or marked as waiting for an upgrade with an owner and a recorded next step.

  4. Confirm MLKEM key exchange in CloudTrail

    Make a test call from each upgraded client to AWS KMS, then open the CloudTrail event for that call. In the tlsDetails section, check that the keyExchange field shows a value containing MLKEM, such as X25519MLKEM768. Record the event ID, the client, the KMS endpoint used and the result. If keyExchange does not contain MLKEM, the client has fallen back to classic key exchange, so return to the previous step. Note that tlsDetails is absent for calls an AWS service makes on your behalf, so use the calling service's own configuration evidence for those. Done when each direct client has a saved CloudTrail event showing MLKEM.

  5. Add a CloudTrail alarm for calls without MLKEM

    Create a CloudTrail-based alarm, for example a CloudWatch Logs metric filter or an EventBridge rule, that flags KMS API calls where tlsDetails is present and keyExchange does not contain MLKEM. Route the alarm to the team that owns the KMS keys so that a client regression is noticed after an SDK rollback or a deployment change. Test the alarm by triggering a known non-MLKEM call in a test account, if your environment allows it. Done when the alarm exists, is tested, and has a named responder.

  6. Test ML-KEM and ML-DSA keys against each client

    Before changing any production key type, create a test KMS key of type ML_KEM_768 or ML_DSA_65 in a non-production account, and call each client against it. ML-KEM keys support Encapsulate and Decapsulate operations and do not support a direct Encrypt operation, while ML-DSA keys support signing with the ML_DSA_SHAKE_256 algorithm. Check that each client builds the request, handles the key usage and returns the expected output. Note that the key spec cannot be changed after creation and that importing key material is not supported for these key types. Done when each client has a recorded pass or fail result for each operation it uses, with failures assigned to an owner.

  7. Record results and confirm the region and endpoint scope

    Consolidate the results into one compatibility record listing each client, its SDK version, its TLS status, its CloudTrail evidence and its key type test result. Confirm the regions where each key type is available, because ML-KEM keys are not available in the China Regions. Confirm with AWS the post-quantum TLS status of FIPS endpoints in AWS GovCloud (US), since the vendor pages give different wording on that point. Done when the record is complete, reviewed by the security lead and stored with your change evidence.

What AWS and the SDK guide do not say

The AWS KMS documentation and the SDK guide leave several compatibility points unstated. Each card below names one gap and the question to put to AWS before you change key types or client versions. Confirm each answer in writing and record the date you received it.

No per-endpoint cipher suite setting

The KMS Data Protection and Hybrid post-quantum TLS pages name a TLS 1.2 minimum, a perfect forward secrecy requirement and an optional hybrid key exchange, but they name no per-endpoint setting or directive that selects an exact cipher suite. Ask AWS whether any client-side or endpoint-side option selects a cipher suite for KMS calls, and whether your SDK version controls it. Record the answer with the SDK version you tested.

KMS Data Protection

Conflicting GovCloud FIPS endpoint wording

The Data Protection page says hybrid post-quantum TLS is not supported for FIPS endpoints in AWS GovCloud (US), while the Hybrid post-quantum TLS page says it is supported on all FIPS 140-3 validated endpoints in all Regions where available. If you run GovCloud workloads that need FIPS endpoints, ask AWS which page is current and get a written statement for your Region. Do not assume hybrid support for GovCloud until that answer is on file.

Hybrid PQ TLS page

SDK languages with no published plans

The SDK guide lists post-quantum TLS as default in some languages, depends on OpenSSL 3.5 or later or an opt-in client in others, and states that AWS SDK for SAP, Swift and Tools for Windows PowerShell have no plans to support it. Inventory which SDKs and the AWS CLI your applications use, and ask AWS for a dated plan for any language your teams depend on. Treat an unplanned language as one that will stay on classic key exchange.

SDK PQ TLS Guide

Non-hybrid client deprecation not addressed

The sources do not say whether AWS will stop accepting non-hybrid TLS clients or deprecate classic key exchange toward AWS KMS. Ask AWS directly whether non-hybrid clients will be cut off, and if so, on what notice period and for which endpoints. Until AWS answers, keep a record of which of your clients offer hybrid key exchange, so a future cutoff does not catch you unprepared.

AWS PQC page

No committed date for PQ-HPKE and session authentication

The Post-quantum keys page says AWS is tracking the IETF PQ-HPKE draft as a replacement for RSA-based encryption, which is a tracking statement and not a committed date. The AWS PQC page says session authentication will move to post-quantum cryptography in the fullness of time, with no date. Ask AWS for a target window for each item and whether any change will require customer action or key migration.

KMS Post-Quantum Keys

Where silent fallback and client mismatch can hide

A KMS call can succeed on classic key exchange with no error and no warning. The API response looks the same either way, so the only place to see which key exchange was used is the tlsDetails section of the CloudTrail event, where the keyExchange field shows a value such as X25519MLKEM768 for hybrid post-quantum TLS. The AWS documentation says tlsDetails is absent when an AWS service calls KMS on the customer's behalf, so calls made through other AWS services need a separate check. Before relying on this signal, confirm with a test call from each client that the keyExchange value includes MLKEM, and add a CloudTrail-based alarm for calls where it does not. A client that does not offer the hybrid key exchange will fall back to classic key exchange without raising an error, so a successful call proves only that the request completed.

Three things commonly hide a mismatch. First, a middlebox or proxy that terminates TLS before the request reaches KMS, such as a corporate inspection appliance, an egress proxy or a sidecar, means the key exchange you observe is between the client and that intermediary, not between the client and AWS KMS. Inventory every hop on the path and confirm the keyExchange value at the AWS end. Second, clients pinned to older runtimes can lack the hybrid key exchange entirely. The AWS SDK guide lists minimum versions for each runtime, and it says that the C++ SDK, AWS CLI, Python, PHP, Ruby and .NET depend on OpenSSL 3.5 or later or an opt-in client. Check the runtime and library versions that your scripts, pipelines and applications actually load, not only the versions that were installed when the code was written.

Hybrid TLS protects only the transport between the client and KMS. It does not change the algorithms used under a KMS key, so a key type change needs its own test. Moving to an ML-DSA or ML-KEM key changes the key spec, the signing or encapsulation operations, the message size limits and the calling code, and none of this is covered by a successful hybrid handshake. The key spec of a KMS key cannot be changed after creation, so plan a new key, a rollover and a test of every caller that uses the old key. Confirm the key spec and algorithm settings your applications pass, and check each kms:KeySpec, kms:SigningAlgorithm and kms:EncryptionAlgorithm condition in your policies, since these may block a new key type before any traffic reaches it.

Questions about KMS client post-quantum compatibility

Is an AWS KMS client quantum safe?

No client is quantum safe by itself, and the sources do not support that claim for any AWS KMS client. What the sources do say, as of 2026-12-03, is that AWS KMS supports hybrid post-quantum TLS, which combines ECDH with ML-KEM, on its endpoints in all Regions where it is available, except China Regions. Hybrid TLS protects only the connection in transit. It does not change the algorithms under your KMS keys, and AWS KMS keys that are RSA or elliptic-curve remain classical public-key keys. Whether your client gets hybrid TLS depends on whether it offers the hybrid key exchange. A client that does not offer it falls back to classic key exchange. Confirm the behavior of each client you run against your own traffic, using the keyExchange field in CloudTrail tlsDetails.

Which AWS SDK version should I use for post-quantum TLS to KMS?

The SDK guide, as checked 2026-12-03, 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, the AWS documentation says to use aws-crt-client 2.30.22 or later to enable ML-KEM, and the postQuantumTlsEnabled(true) setting is shown on the AWS CRT HTTP client. The C++ SDK, AWS CLI, Python, PHP, Ruby and .NET depend on OpenSSL 3.5 or later or an opt-in client. The SAP, Swift and Tools for Windows PowerShell SDKs have no plans to support it. Check the current release notes for your exact version before you rely on these numbers.

Does turning on hybrid TLS for KMS cost extra?

The sources do not state any charge for hybrid post-quantum TLS to AWS KMS, and they give no price for it. Enabling it is a client configuration change, such as the postQuantumTlsEnabled setting or a newer SDK version, and it does not by itself create a new KMS key or request type. The costs you should expect are in your own work: updating and retesting client libraries, changing deployment pipelines, and checking runtimes that bundle OpenSSL. Ask AWS whether any charge applies, and check your bill after a test. Your internal labor is not covered by any AWS price.

What breaks when a KMS client moves to hybrid post-quantum TLS?

The sources name no specific breakage, but the main risks are version-related. Clients on older SDK, runtime or OpenSSL versions may not offer the hybrid key exchange at all, so the change does nothing for them. Changing the SDK or runtime version can also alter other TLS behavior in the same process, so run regression tests. Check these areas first:

  • Runtime and OpenSSL versions bundled in your containers and images.
  • Custom HTTP clients or proxies that terminate or inspect TLS before the call reaches AWS KMS.
  • CloudTrail monitoring that expects specific fields, since tlsDetails is absent when an AWS service calls KMS on your behalf.

Also confirm that FIPS endpoints in AWS GovCloud (US) are covered, because the Data Protection and Hybrid PQ TLS pages word that differently.

What should I ask AWS about KMS post-quantum support?

Put these questions to AWS, and record the answers with their dates:

  • Whether hybrid post-quantum TLS is supported on FIPS endpoints in AWS GovCloud (US), since the Data Protection page and the Hybrid PQ TLS page are worded differently.
  • Whether any charge applies to enabling hybrid TLS or using the ML-KEM and ML-DSA key specs.
  • Which key types and algorithms are supported in each Region, given that ML-KEM keys are not available in China Regions.
  • Whether AWS plans a date for upgrading session authentication to post-quantum cryptography. The AWS Post-Quantum Cryptography page says this will happen in the fullness of time, with no date.
  • Whether a direct Encrypt operation for ML-KEM keys is planned. The sources say AWS is only tracking the IETF PQ-HPKE draft.

Also ask AWS to confirm the minimum version of each SDK it lists.

Can our team test KMS client post-quantum compatibility without outside help?

Yes, a team with cloud and platform engineering skills can run these checks in-house, and the sources list the steps. First, inventory every client, SDK version and runtime that calls AWS KMS. Second, enable hybrid TLS in a non-production account and confirm it, using the keyExchange field in the tlsDetails section of the CloudTrail event, which shows a value such as X25519MLKEM768. Third, add an alarm for calls where keyExchange lacks MLKEM. Fourth, run regression tests on each client. Outside help is useful if your estate is large or regulated, or if you want an independent review of the results. DeployOpen plans and implements such work on a fixed scope agreed in writing before work starts, and a quote follows from that scope.

How DeployOpen helps teams test KMS clients for post-quantum readiness

DeployOpen works through the AWS KMS client, SDK and service integrations in your environment, starting from the calls your applications and AWS services make to KMS. We check which clients offer hybrid post-quantum TLS, which key specs and signing algorithms each caller uses, and what the CloudTrail evidence shows before any key type changes.

How we scope

  • Written scope lists which applications, SDKs, CLI tools and AWS services call KMS in your accounts and Regions.
  • Inventory records SDK and runtime versions, such as aws-crt-client and Go, Node.js or Java releases, for each caller.
  • Scope states which Regions, FIPS endpoints and GovCloud endpoints are included, since hybrid TLS support differs by endpoint.

How we build

  • Test environment reproduces each client's KMS calls, then records whether the keyExchange field shows MLKEM in CloudTrail.
  • Key spec and algorithm checks cover RSA, ECC, ML-DSA and ML-KEM usage, plus kms:KeySpec and algorithm condition keys in policies.
  • Compatibility tests run against the classic and hybrid paths so that any client falling back to classic key exchange is identified.

How we hand over

  • Compatibility report lists each client, its version, its TLS key exchange result and any calls that fall back to classic exchange.
  • Runbook covers the SDK upgrade steps, the required client versions and the CloudTrail alarms that flag non-hybrid calls.
  • Handover includes a list of open items for AWS confirmation, such as GovCloud FIPS endpoint hybrid TLS support.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer if your client fleet changes over time.
  • Retesting after client upgrades confirms that new SDK versions and AWS changes keep the compatibility results current.

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.