Objective
This article explains the compatibility of Segment Functions with TLS 1.2 for outbound API calls. You can use this information to ensure your integrations remain functional when third-party vendors deprecate older encryption protocols like TLS 1.0 and 1.1.
Product
Twilio Segment
Environment
Segment Console
Answer
Segment Functions run on the Node.js v20 LTS runtime environment. Because Node.js v20 uses TLS 1.2 as its minimum version by default, your outbound API calls automatically negotiate using TLS 1.2 or TLS 1.3.
Since TLS 1.0 and 1.1 are not available in this environment, you do not need to make any changes to your function code to comply with modern security requirements. Your connections will already meet the minimum requirement of TLS 1.2.