You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/04/01 09:55:04 UTC
[airflow] branch master updated: Little clarification in Aws
connection docs (#14290)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new a607002 Little clarification in Aws connection docs (#14290)
a607002 is described below
commit a6070026576d6a266c8df380a57deea3b43772d5
Author: JavierLopezT <ja...@gmail.com>
AuthorDate: Thu Apr 1 11:54:50 2021 +0200
Little clarification in Aws connection docs (#14290)
---
docs/apache-airflow-providers-amazon/connections/aws.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/docs/apache-airflow-providers-amazon/connections/aws.rst b/docs/apache-airflow-providers-amazon/connections/aws.rst
index df4ce7e..1c8f361 100644
--- a/docs/apache-airflow-providers-amazon/connections/aws.rst
+++ b/docs/apache-airflow-providers-amazon/connections/aws.rst
@@ -31,10 +31,13 @@ Authentication may be performed using any of the `boto3 options <https://boto3.a
To use IAM instance profile, create an "empty" connection (i.e. one with no Login or Password specified, or
``aws://``).
+
Default Connection IDs
-----------------------
-The default connection ID is ``aws_default``.
+The default connection ID is ``aws_default``. If the environment/machine where you are running Airflow has the
+file credentials in ``/home/.aws/``, and the default connection has user and pass fields empty, it will take
+automatically the credentials from there.
.. note:: Previously, the ``aws_default`` connection had the "extras" field set to ``{"region_name": "us-east-1"}``
on install. This means that by default the ``aws_default`` connection used the ``us-east-1`` region.
@@ -74,6 +77,8 @@ Extra (optional)
* ``config_kwargs``: Additional ``kwargs`` used to construct a ``botocore.config.Config`` passed to *boto3.client* and *boto3.resource*.
* ``session_kwargs``: Additional ``kwargs`` passed to *boto3.session.Session*.
+ * ``profile``: If you are getting your credentials from the credentials file, you can specify the profile with this.
+
If you are configuring the connection via a URI, ensure that all components of the URI are URL-encoded.
Examples