SatishChGit commented on code in PR #36953:
URL: https://github.com/apache/airflow/pull/36953#discussion_r1477017037


##########
docs/apache-airflow-providers-teradata/connections/teradata.rst:
##########
@@ -0,0 +1,82 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+
+
+.. _howto/connection:teradata:
+
+Teradata Connection
+======================
+The Teradata connection type enables integrations with Teradata.
+
+Configuring the Connection
+--------------------------
+Host (required)
+    The host to connect to.
+
+Database (optional)
+    Specify the name of the database to connect to.
+
+Login (required)
+    Specify the user name to connect.
+
+Password (required)
+    Specify the password to connect.
+
+Extra (optional)
+    Specify the extra parameters (as json dictionary) that can be used in 
Teradata
+    connection. The following parameters out of the standard python parameters
+    are supported:
+
+    * ``tmode`` - Specifies the transaction mode.Possible values are DEFAULT 
(the default), ANSI, or TERA
+    * ``sslmode`` - This option specifies the mode for connections to the 
database.
+      There are six modes:
+      ``disable``, ``allow``, ``prefer``, ``require``, ``verify-ca``, 
``verify-full``.
+    * ``sslca`` - This parameter specifies the file name of a PEM file that 
contains
+      Certificate Authority (CA) certificates for use with sslmode values 
VERIFY-CA or VERIFY-FULL.
+    * ``sslcapath`` - This parameter specifies the TLS cipher for HTTPS/TLS 
connections.
+    * ``sslcipher`` - This parameter specifies the name of a file containing 
SSL
+      certificate authority (CA) certificate(s).
+    * ``sslcrc`` - This parameter controls TLS certificate revocation checking 
for
+      HTTPS/TLS connections when sslmode is VERIFY-FULL.
+    * ``sslprotocol`` - Specifies the TLS protocol for HTTPS/TLS connections.
+
+    More details on all Teradata parameters supported can be found in
+    `Teradata documentation 
<https://github.com/Teradata/python-driver?tab=readme-ov-file#connection-parameters>`_.
+
+    Example "extras" field:
+
+    .. code-block:: json
+
+       {
+          "tmode": "TERA",
+          "sslmode": "verify-ca",
+          "sslcert": "/tmp/client-cert.pem",
+          "sslca": "/tmp/server-ca.pem",
+          "sslkey": "/tmp/client-key.pem"
+       }

Review Comment:
   Updated



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to