You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/03/13 06:58:46 UTC

[GitHub] [airflow] eladkal commented on a change in pull request #20757: SFTP docs add example “extras” field using ``key_file``, ``private_key`` and ``host_key``

eladkal commented on a change in pull request #20757:
URL: https://github.com/apache/airflow/pull/20757#discussion_r825397763



##########
File path: docs/apache-airflow-providers-sftp/connections/sftp.rst
##########
@@ -73,17 +73,25 @@ Extra (optional)
     * ``private_key`` Specify the content of the private key, the path to the private key file(str) or paramiko.AgentKey
     * ``key_file`` - Full Path of the private SSH Key file that will be used to connect to the remote_host.
 
-Example “extras” field:
+Example “extras” field using ``host_key``:
 
-.. code-block:: bash
+.. code-block:: json
 
     {
-       "key_file": "path/to/private_key",
        "no_host_key_check": "false",
        "allow_host_key_change": "false",
        "host_key": "AAAHD...YDWwq=="
     }
 
+Example “extras” field using ``key_file`` or ``private_key```:

Review comment:
       ```suggestion
   Example “extras” field using ``key_file`` or ``private_key``:
   ```




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org