How long AWS Secrets Manager secrets stay sensitive: harvest now decrypt later

Secret values in AWS Secrets Manager are encrypted with symmetric AES-256 data keys under symmetric KMS keys, so the harvest now decrypt later concern centers on the TLS sessions that carry them and on the credentials inside them. Security leads should rotate long-lived credentials and treat recorded traffic as the exposure to judge.

On this page

Does a stored AWS Secrets Manager secret face harvest now decrypt later exposure?

The short answer for a security lead is that the stored secret value is not protected by public-key cryptography in the way a harvest now, decrypt later attack needs. AWS Secrets Manager uses envelope encryption: each secret value is encrypted with a 256-bit AES data key, and that data key is encrypted under a symmetric AWS KMS key. Secrets Manager supports only symmetric KMS keys for secret encryption, so the stored ciphertext is not a public-key ciphertext. The public-key exposure sits in the TLS handshakes to Secrets Manager endpoints. AWS states, in the user guide checked on 2026-12-03, that Secrets Manager supports a hybrid post-quantum key exchange for TLS on its API endpoints in all Regions except the China Regions. The AWS Secrets Manager encryption documentation and the data protection page describe the stored-value design, and the post-quantum TLS page describes the key exchange.

The sources do not say how long a secret must stay sensitive, so that judgment belongs to the organization. The practical question is what the credential grants and how long it stays valid. A database password that grants long-lived write access to customer data carries a different exposure window than a short-lived token that expires within hours. Confirm the sensitivity period for each secret class with the data owner, and list which secrets can be rotated on a schedule and which cannot. For rotation, the rotation overview describes managed rotation and Lambda-based rotation. Rotation changes the stored value, but it does not reduce exposure of values already captured in TLS traffic, so pair rotation with a review of where captured traffic could have been recorded.

On the vendor side, AWS announced on April 14, 2026 that Secrets Manager clients support hybrid post-quantum TLS, and the AWS announcement says the negotiated key exchange appears as X25519MLKEM768 in the tlsDetails field of CloudTrail GetSecretValue events. That announcement is the vendor's latest published statement in the sources checked, and it names no post-quantum signature algorithm for Secrets Manager. Confirm which SDK, agent or provider version your workloads use, since the announcement lists different minimum versions for each. Verify the negotiated key exchange in your own CloudTrail logs before treating the TLS exposure as closed.

Which parts of Secrets Manager carry public-key exposure and which do not

This table lists each part of AWS Secrets Manager, what protects it, whether a public-key algorithm is involved, and what the sources say about post-quantum status. Read the public-key column as the question for harvest now decrypt later: components marked as symmetric protect stored values, while TLS and request signing depend on public-key cryptography. The main takeaway is that the stored secret value is symmetric, but the transport and authentication paths are where public-key exposure sits.

ComponentWhat protects itPublic-key algorithm involvedPost-quantum status in sources (checked 2026-12-03)
Secret value encryptionAES-256 data key generated by KMS and used outside KMS to encrypt the valueNo, symmetric AES data keyNot a public-key path. Sources do not describe a separate post-quantum change for this layer
KMS data keyEncrypted under a symmetric KMS key (customer managed or aws/secretsmanager)No, only symmetric KMS keys are supportedSources state symmetric keys only. Confirm KMS-side post-quantum status with the AWS KMS page
Secret metadataNot encrypted for name, description, rotation settings, KMS key ARN or tagsNo encryption applied, so no public-key pathNot covered by the sources. Treat metadata as plaintext for exposure planning
TLS to API endpointsTLS 1.2 and TLS 1.3 on secretsmanager.{region}.amazonaws.comYes, key exchange, server certificate and signatureHybrid post-quantum key exchange (X25519MLKEM768) supported in all Regions except China, announced April 14, 2026. Server certificate signature is not covered by this statement
SigV4 request signingSignature Version 4 with access keys or STS temporary credentialsYes as described by AWS, signing algorithm not namedSources do not state the signing algorithm and name no post-quantum signature (such as ML-DSA) for Secrets Manager
Rotation LambdaCalls PutSecretValue, which triggers KMS GenerateDataKey, and runs under the function's IAM roleIndirect, depends on the TLS and signing paths aboveSources state no separate post-quantum status for the rotation function itself. Confirm the Lambda runtime and SDK version in your account
Database client connectionsClient libraries such as PyMySQL 1.1.1, PyGreSQL 6.1.0, Pymssql 2.3.11 and PyMongo 4.7.3 in rotation templatesDepends on the database TLS configuration, not stated in the template pageSources do not state the TLS versions or certificate settings these clients use. Confirm each database connection with its owner

How secret values are encrypted at rest and why that matters for exposure

Secrets Manager protects a secret value with envelope encryption, and the design determines what an attacker who collects ciphertext today would need later. For each new secret value, Secrets Manager asks AWS KMS for a data key through a GenerateDataKey request with keySpec AES_256. KMS returns a 256-bit AES data key in plaintext and in encrypted form. Secrets Manager encrypts the secret value with the plaintext data key outside KMS, and stores the encrypted data key in the secret's metadata. The data key is wrapped by a symmetric KMS key, which is either a customer managed key in the account and Region or the AWS managed key aws/secretsmanager. According to the user guide, Secrets Manager supports only symmetric KMS keys, so no asymmetric key wraps the secret value.

Only the secret value is encrypted at rest. The secret name, description, rotation settings, KMS key ARN and tags are not encrypted, so they remain readable to anyone who can read the secret's metadata. Secrets Manager also passes an encryption context containing SecretARN and SecretVersionId to KMS, which ties each wrapped data key to a specific secret version. A security lead should treat the metadata as lower-sensitivity, but should not place sensitive values in names, descriptions or tags, because those fields are not protected by this design.

For harvest now decrypt later planning, the practical question is which component carries public-key exposure. The encrypted value and its data key depend on symmetric AES and symmetric KMS keys as described by AWS, while the public-key dependent parts are the TLS connections to Secrets Manager endpoints and Signature Version 4 request signing. Confirm with AWS which key material protects your KMS keys, because the Secrets Manager user guide does not describe it. Record the KMS key type and Region for each secret, since changing a secret's encryption key re-encrypts the data keys of the current, previous and pending versions.

Where a recorded session could expose a secret value

The flow starts with a client opening a TLS connection to the regional Secrets Manager endpoint, where the handshake uses public-key operations for key exchange, the server certificate and signatures. Inside that session, the GetSecretValue response carries the secret value encrypted under an AES data key, and that data key is protected by a symmetric KMS key that Secrets Manager asks KMS to decrypt. Check which edges use public-key cryptography (the handshake and request signing) and which use symmetric keys (the data key and KMS key), and note that the hybrid X25519MLKEM768 key exchange applies only to the TLS edge and only where the client supports it.

Edges that carry public-key cryptography versus symmetric keys in a Secrets Manager read.

How the exposure differs by client and by secret type

AWS's announcement says Secrets Manager clients support hybrid post-quantum TLS, and that the negotiated key exchange appears as X25519MLKEM768 in the tlsDetails field of CloudTrail GetSecretValue events. The announcement lists SDK support for Rust, Go, Node.js, Kotlin, Python and Java v2, and it says only Java v2 needs extra steps. Whether a given call uses the hybrid key exchange depends on the SDK version and runtime in use, so the exposure of a specific application is a question of its own build.

  • Rust, Go, Node.js and Kotlin: The announcement lists these as supported without extra steps. Confirm the exact SDK version in your build, since the announcement does not give version numbers for these SDKs.
  • Python: The announcement says Python requires OpenSSL 3.5 or later. Check the OpenSSL version that the Python interpreter links against, not only the version installed at the operating system level.
  • Java v2: The announcement says Java v2 needs v2.35.11 or later. The user guide enables hybrid post-quantum TLS by adding the aws-crt-client dependency and building the client with AwsCrtAsyncHttpClient.builder().postQuantumTlsEnabled(true).
  • CloudTrail evidence: Search GetSecretValue events for the tlsDetails field to see which key exchange each caller negotiated.

For each application, confirm the SDK version, the runtime and, for Java, whether the postQuantumTlsEnabled setting is in the client code.

What a security lead should do next to bound the exposure

This sequence limits how much of the harvest now, decrypt later exposure remains for AWS Secrets Manager secrets by ordering inventory, client checks, SDK upgrades, credential rotation and evidence capture. Each step ends with a check that shows whether the step is closed, so the record reflects what was verified.

  1. Inventory secrets by grant and validity period

    The security lead, with the owners of each application, lists every secret in Secrets Manager and records what it grants (database logins, API keys, signing material, cloud access) and how long its value stays valid before rotation. Secret names, rotation settings and tags are not encrypted by Secrets Manager, so the inventory can be taken from the console or the list-secrets API without decrypting values. The step closes when every secret has an owner and a recorded grant and lifetime, and secrets with long-lived or non-rotating values are flagged.

  2. Confirm which clients connect and their key exchange support

    The platform team identifies which applications, agents, Lambda functions and rotation functions call Secrets Manager, and which SDK or agent version each uses. For each client, confirm whether it advertises ML-KEM support in its TLS handshake, since AWS states its endpoints enforce hybrid post-quantum key exchange for any client that advertises ML-KEM. The step closes with a list of clients showing name, owner, version and ML-KEM status, with any unknown entries marked for follow-up.

  3. Upgrade SDKs and agents named in the announcement

    Engineering teams upgrade the Secrets Manager Agent to v2.0.0 or later, the AWS Lambda Extension to v19 or later, and the AWS Secrets and Configuration Provider to v2.0.0 or later. Java v2 applications need AWS SDK version 2.35.11 or later and the aws-crt-client dependency, with the client built to enable post-quantum TLS. Python clients require OpenSSL 3.5 or later. The step closes when each upgraded component is deployed and its version is recorded against the client list.

  4. Verify the X25519MLKEM768 value in CloudTrail

    The security lead checks CloudTrail GetSecretValue events and reads the tlsDetails field for each upgraded client. The negotiated key exchange should appear as X25519MLKEM768. Events that show a different key exchange, or clients with no events, need follow-up with the owning team. The step closes with a saved query or report showing the key exchange observed for each client over a recorded window, so the result can be reviewed later.

  5. Rotate long-lived credentials with managed or Lambda rotation

    Owners of long-lived credentials enable rotation for them, choosing managed rotation where the service supports it or rotation by Lambda function, using the AWS rotation templates where they fit. Each rotation function's database client library and TLS settings should be confirmed, because the template documentation does not state which TLS versions or certificate settings they use. The step closes when each long-lived secret has a rotation configuration and a successful test rotation recorded.

  6. Record the date and evidence for each secret

    The security lead writes a register entry for each secret with its owner, grant, rotation setting, client versions, observed key exchange and the date of the last verification. Evidence includes the CloudTrail query output, the version list and the rotation test result. The register is reviewed on a schedule the organization sets. The step closes when every entry in the inventory has a complete record, and gaps are assigned to an owner with a target date agreed internally.

What AWS has not published about Secrets Manager and post-quantum signatures

The AWS sources checked for this page cover post-quantum key exchange for TLS to Secrets Manager endpoints, but they leave several points open. The cards below list each gap, what the sources do and do not say, and where a security lead can confirm the answer with AWS or in the product documentation.

No post-quantum signature algorithm named

The Secrets Manager pages checked name ML-KEM style hybrid key exchange for TLS, but none names a post-quantum signature algorithm such as ML-DSA for Secrets Manager. AWS's migration page says it plans ML-DSA for signatures, but it does not say which Secrets Manager features will use it. Ask AWS for a dated statement on whether and when Secrets Manager will use ML-DSA for any signature, and check the Secrets Manager user guide and AWS security bulletins for updates.

AWS migration page

SigV4 signature algorithm not named

Secrets Manager API calls must be signed with Signature Version 4, using an access key or temporary credentials from AWS STS. The user guide does not name the signature algorithm used in that signing, so a reader cannot tell from the page whether any part of the signing depends on a public-key algorithm. Ask AWS to state the signing algorithm and its key type for SigV4 requests to Secrets Manager, and check the AWS signing documentation for the answer.

Data protection guide

TLS version restriction setting not given

The user guide states that Secrets Manager supports TLS 1.2 and TLS 1.3 in all Regions. When it was checked on 2026-12-03, it did not describe a setting that restricts the TLS version a client may use. A security team that must enforce a minimum version cannot confirm from the page that such a control exists. Ask AWS whether a TLS version restriction setting is available for Secrets Manager endpoints, and confirm the answer in the user guide before relying on it.

Data protection guide

Rotation template TLS settings unstated

The rotation function templates connect to databases through client libraries such as PyMySQL 1.1.1, PyGreSQL 6.1.0, Pymssql 2.3.11 and PyMongo 4.7.3. The template page does not state which TLS versions or certificate settings these functions use. For a rotation that reaches a database over TLS, the database's own certificate and cipher settings decide the outcome. Ask AWS for the TLS versions and certificate validation each rotation template uses, and check the template source code in the AWS repository.

Rotation templates reference

Migration page omits Secrets Manager

AWS's migration page states that AWS plans ML-KEM for confidentiality and ML-DSA for signatures, that some features will be transparent and others customer opt-ins, and that it aims to migrate ahead of regulatory timelines. The page does not mention Secrets Manager by name. A reader cannot use it alone to plan Secrets Manager work. Ask AWS to confirm which migration steps and dates apply to Secrets Manager, and check the AWS post-quantum readiness pages for a Secrets Manager entry.

AWS migration page

Questions security leads ask about secret lifetime and post-quantum exposure

Is AWS Secrets Manager quantum safe?

The sources do not support a yes or no answer to that question, and this page does not make that claim. What the AWS documentation supports is narrower: Secrets Manager offers a hybrid post-quantum key exchange (X25519MLKEM768) for TLS to its API endpoints in all Regions except the China Regions, as of the user guide checked on 2026-12-03. Secret values are encrypted with 256-bit AES data keys under symmetric KMS keys, which the sources describe as separate from the TLS and request-signing layer. No post-quantum signature algorithm is named for Secrets Manager in the pages checked. Confirm the current status with AWS before recording a conclusion in your inventory.

Do secrets need rotation because of harvest now decrypt later?

The sources do not state a rotation requirement tied to harvest now decrypt later, so rotation should be decided from your own data lifetime analysis. The key distinction is what an adversary could recover. Secret values are protected by symmetric AES data keys, and the sources describe the public-key dependent parts as the TLS handshake and Signature Version 4 request signing. Traffic that was captured with a classical key exchange is the exposure that matters for this threat. Rotation reduces the useful life of a credential, but the AWS sources do not say it removes exposure from previously captured sessions. Decide per secret, based on how long its value must stay confidential and whether it protects a long-lived system.

Which AWS SDK or client version is needed for post-quantum TLS?

The AWS announcement dated April 14, 2026 lists automatic support in these versions: Secrets Manager Agent v2.0.0 and later, AWS Lambda Extension v19 and later, and AWS Secrets and Configuration Provider v2.0.0 and later. For SDKs, the announcement lists Rust, Go, Node.js, Kotlin, Python (requires OpenSSL 3.5 or later) and Java v2 (v2.35.11 or later). Only Java v2 needs extra steps: add the aws-crt-client dependency and build the client with AwsCrtAsyncHttpClient.builder().postQuantumTlsEnabled(true). Confirm the exact versions your runtime uses, since client libraries and language runtimes may bundle their own TLS stack.

Does enabling hybrid TLS cost more than a software update?

The sources describe the change as a client update, and they do not list a separate licensing charge for hybrid TLS in Secrets Manager. The cost drivers are the work to inventory and update each client, the testing needed to confirm that rotation functions and applications still connect, and any OpenSSL or runtime upgrades that Python and Java clients require. The sources do not give a price or effort estimate. Ask AWS whether any pricing applies to post-quantum TLS, and separately confirm whether your own Lambda functions, rotation functions and database client libraries need changes, because the rotation templates' TLS settings are not stated in the pages checked.

What should we ask AWS about Secrets Manager post-quantum support?

Ask AWS to confirm these points in writing: whether any post-quantum signature algorithm is planned for Secrets Manager or only the TLS key exchange; which Regions and FIPS endpoints support hybrid key exchange; whether the rotation Lambda templates use post-quantum capable TLS; and whether a setting exists to require the hybrid key exchange or to restrict the TLS version, since the user guide did not give one when checked on 2026-12-03. Also ask for the expected timing and whether the AWS migration plans, which name ML-KEM and ML-DSA for AWS services generally, apply to Secrets Manager. Request the answers as dated statements you can file as vendor evidence.

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

Your team can handle the inventory and the client updates if it already runs its own services and has a clear owner for each secret's consumers. Outside help is most useful when the work spans many clients, when Java services or database rotation functions need custom testing, or when you need documented evidence for an assessment. DeployOpen plans, implements and documents self-hosted platforms and runs security testing, and it prepares evidence for compliance assessments, but it does not issue audit reports or attestations. Scope and pricing are agreed in writing before work starts, so ask for a fixed-scope proposal that lists the clients and rotation functions covered.

How DeployOpen helps teams assess and reduce secret exposure on AWS

DeployOpen works with security leads to decide which AWS Secrets Manager secrets could still matter to an attacker who records encrypted traffic today and decrypts it later. The work sorts secrets by how long they must stay confidential, checks which ones depend on public-key protocols in transit, and sets out which can be rotated and which need a longer plan.

How we scope

  • Agree in writing which secrets, accounts and Regions the review covers before work starts.
  • Record how long each secret value must stay confidential, using the owner's own business and retention requirements.
  • Confirm which clients and rotation functions read or write each secret, so the review follows real access paths.

How we build

  • Map each secret's KMS key type and encryption path, noting that secret values use symmetric AES data keys.
  • Check TLS connections to Secrets Manager endpoints and the client versions that negotiate hybrid post-quantum key exchange.
  • Test rotation Lambda functions and their database client libraries for the TLS settings they actually use.

How we hand over

  • Deliver a dated register that ranks each secret by confidentiality lifetime and rotation feasibility.
  • Document which findings depend on client upgrades, which need rotation, and which the AWS sources leave open.
  • List the questions to confirm with AWS, such as TLS version settings and signature algorithms for Secrets Manager.

How we support

  • Retest the register after client upgrades, rotation changes or new secrets are added to the account.
  • Ongoing support and periodic reviews are available as a retainer, agreed in writing separately.
  • Track AWS notices on Secrets Manager so the register reflects published changes to support status.

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.