Taragolis commented on code in PR #35479:
URL: https://github.com/apache/airflow/pull/35479#discussion_r1383601053


##########
docs/apache-airflow-providers-amazon/connections/aws.rst:
##########
@@ -240,6 +240,17 @@ With a AWS IAM key pair
       "password": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
     }'
 
+Reference as Jinja templated fields
+^^^^^^^^^^^^^^^^^^^^^^^
+
+To render the AWS credentials using Jinja template reference 
``AWS_ACCESS_KEY_ID`` as ``login`` and ``AWS_SECRET_ACCESS_KEY`` as ``password``
+
+  .. code-block:: bash
+
+    echo "AWS_ACCESS_KEY_ID={{ conn.connection_id.login }}"
+    echo "AWS_SECRET_ACCESS_KEY={{ conn.connection_id.password }}"

Review Comment:
   Anyway it might be a good point to mentioned about relabelling and this 
affect not only an AWS Connection



-- 
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