Implementation Guide | Financial Services

    How to Encrypt Customer Data Between OpenAI Agents SDK Agents and Tools Under NYDFS Part 500

    Treat encryption as one layer in a sequence. Classify nonpublic information (NPI) in tool arguments and responses, encrypt each boundary that crosses an external network or stores data at rest, document internal hops as risk-based decisions, limit which NPI reaches each tool, and retain evidence of what was permitted. Part 500.15(a) requires a written encryption policy covering NPI in transit over external networks and at rest. It does not require encryption of data in use, so transport encryption alone does not decide what a tool receives.

    Implementation sequence

    1. 1

      1. Inventory every hop

      List each function tool, hosted tool, MCP server, and storage location. Record whether it crosses an external network, who operates it, and whether it persists data.

    2. 2

      2. Classify fields

      Map argument and response fields to the 500.1 NPI definition. Record which fields each tool actually needs.

    3. 3

      3. Encrypt each boundary

      Apply TLS to external hops and stored data, and decide internal hops on risk. Add mutual authentication where both ends need verification.

    4. 4

      4. Manage keys

      Assign owners, separate keys by purpose, and define rotation and wrapping.

    5. 5

      5. Minimize what crosses

      Apply field-level protection, redaction, or blocking so tools receive only the NPI they need.

    6. 6

      6. Retain evidence

      Keep configuration records, diligence files, and per-call decisions that show how each boundary was protected.

    Evidence an examiner is likely to ask for

    • A written encryption policy that names which tool boundaries are encrypted in transit, to which standard, and how keys are managed
    • A data-flow inventory of agent-to-tool hops, marked for external network exposure and data at rest
    • Field classification against the NPI definition for tool arguments and responses
    • Due diligence records for third-party tools and MCP servers, covering encryption, access controls, and data segmentation in proportion to data sensitivity
    • Secure-development and testing records for custom function tools and externally developed tool servers
    • Per-call records of what was allowed, redacted, blocked, or escalated, plus approved exceptions

    What Part 500 says about agent-to-tool data

    Section 500.1 defines nonpublic information broadly. It covers electronic information that is not publicly available, including information that can identify an individual in combination with specified data elements. Customer data in a tool argument or a tool response can meet that definition even when the agent treats it as ordinary text.

    Section 500.15(a), as amended, requires a written policy requiring encryption that meets industry standards to protect NPI held or transmitted by the covered entity, both in transit over external networks and at rest. DFS has stated that 500.15 does not require encryption of data in use. The text is keyed to external networks, so an agent-to-tool hop on an internal network is not expressly mandated by 500.15(a). Encrypting it is a risk-based design choice that you should document, and DFS has recommended network segregation where practicable.

    Third parties matter as well. Section 500.11 requires policies for NPI and information systems accessible to or held by third-party service providers, including their access controls and their use of encryption under 500.15. A third-party tool or MCP server is therefore a provider relationship with due diligence expectations, not only a network endpoint.

    Transport encryption and key management per boundary

    For each tool connection, set a minimum of TLS 1.2 with NIST-approved cipher suites and enable TLS 1.3 where the tool supports it. NIST SP 800-52 Rev. 2 is federal-system guidance and Part 500 does not define industry standards by reference to it, but it is a reasonable baseline to cite in your written policy. Do not carry over its allowance for TLS 1.0 and 1.1 for non-government interoperability.

    TLS lets client and server authenticate each other, establish a shared key, and protect the payload with integrity and source-authentication mechanisms. Use mutual TLS where a tool must verify which agent runtime is calling it, for example on an internal service that returns customer records. Server-only authentication is usually sufficient for a public provider endpoint, provided the agent runtime validates certificates.

    Key management needs its own owner. NIST guidance says a key should be used for only one purpose and that secret and private keys should be wrapped or otherwise protected when distributed. In practice, use separate certificates and keys per tool boundary, keep private keys out of agent prompts and tool definitions, and record rotation schedules in the same policy that names the TLS configuration. Verify the configuration against the standard you cite rather than assuming defaults comply.

    Field-level protection and where it stops

    TLS protects data between two endpoints. The receiving tool terminates the connection and handles plaintext, and the agent's model context holds whatever the agent was given. Transport encryption therefore says nothing about whether a tool should have received a full account number or a tax identifier in the first place.

    Field-level techniques address part of this gap. Envelope encryption of selected fields lets an agent pass a value through a tool chain without any intermediate component reading it. Tokenization replaces a sensitive value with a surrogate that is meaningful only to a system that can resolve it. Both work when the tool only needs to route, store, or match the value.

    They do not work when the tool must compute on the plaintext, such as a function that validates an identifier or a hosted tool that summarizes a document. In that case, the choice is between sending the minimum necessary plaintext over an encrypted channel, with a documented reason, and not calling the tool. Record that decision per tool. If encryption is infeasible for a particular third-party tool, document the exception with a review and approval record from the CISO, and confirm the wording against the current consolidated Part 500 text as of November 2026.

    Where runtime policy enforcement complements encryption

    Encryption protects data on the wire. Runtime policy enforcement decides what is allowed onto the wire. Applied to tool calls, it evaluates the arguments before they leave the agent runtime and the response before it returns to the model, then allows, redacts, or blocks the content, or escalates it for human approval.

    Trussed enforces policy in the execution path on tool calls, including calls to MCP servers, and generates audit-ready evidence from that enforcement, mapped to NYDFS among other frameworks. Policy is enforced at runtime, not reviewed after the fact. Trussed can be self-managed in the customer cloud, with configurable retention and data residency. This complements the encryption layers above and does not replace TLS, key management, or field-level protection.

    The value for an examiner is a record of decisions rather than a record of traffic. A statement that a tool connection used TLS 1.2 shows the channel was protected. A record that a call containing an identifier was redacted before reaching a tool shows what the control permitted.

    Tool boundaries to review in an agent deployment

    Agent runtime to function tool

    Arguments and responses may carry NPI. Encryption depends on where the tool runs and what it stores.

    Agent runtime to hosted tool

    Data leaves your environment for a provider-operated service.

    Agent runtime to MCP server

    A remote or third-party server terminates the connection and handles plaintext.

    Stored traces and tool outputs

    Data at rest falls within the 500.15(a) policy scope.

    Show what your agents were allowed to send

    See how policy enforced in the execution path on tool calls produces audit-ready evidence mapped to NYDFS.

    See How Evidence Is Produced
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.