You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/security.rst
+112Lines changed: 112 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -402,3 +402,115 @@ then you can do a proxy execute...
402
402
s.execute('select * from k.t;', execute_as='user1') # the request will be executed as 'user1'
403
403
404
404
Please see the `official documentation <https://docs.datastax.com/en/latest-dse/datastax_enterprise/unifiedAuth/unifiedAuthTOC.html>`_ for more details on the feature and configuration process.
405
+
406
+
TLS Session Resumption
407
+
----------------------
408
+
409
+
.. versionadded:: 3.30.0
410
+
411
+
The driver automatically caches TLS sessions to enable session resumption for faster reconnections.
412
+
When a TLS connection is established, the session is cached and can be reused for subsequent
413
+
connections to the same endpoint, reducing handshake latency and CPU usage.
414
+
415
+
**TLS Version Support**: Session resumption works with both TLS 1.2 and TLS 1.3. TLS 1.2 uses
416
+
Session IDs and optionally Session Tickets (RFC 5077), while TLS 1.3 uses Session Tickets (RFC 8446)
417
+
as the primary mechanism. Python's ``ssl.SSLSession`` API handles both versions transparently.
418
+
419
+
Session caching is **enabled by default** when SSL/TLS is configured and applies to the following
0 commit comments