diff --git a/sqlalchemy_ibmi/base.py b/sqlalchemy_ibmi/base.py index a756aa5..2feb3bf 100644 --- a/sqlalchemy_ibmi/base.py +++ b/sqlalchemy_ibmi/base.py @@ -50,6 +50,9 @@ Defaults to ``False``. * ``trim_char_fields`` - If ``True``, all character fields will be returned with trailing spaces truncated. Defaults to ``False``. +* ``ssl`` - If ``True`` a Secure Sockets Layer (SSL) connection will be used to + encrypt all client/server communication. If ``False``, only the password will + be encrypted. Defaults to ``False``. create-engine arguments: @@ -997,6 +1000,7 @@ def dbapi(cls): "use_system_naming": ("NAM", to_bool, False), "trim_char_fields": ("TRIMCHAR", to_bool, None), "lob_threshold_kb": ("MAXFIELDLEN", int, None), + "ssl": ("SSL", to_bool, False) } DRIVER_KEYWORDS_SPECIAL = {