You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Wilson Lian (JIRA)" <ji...@apache.org> on 2018/06/27 20:10:00 UTC

[jira] [Updated] (AIRFLOW-2062) Support just-in-time decryption of Connection credentials

     [ https://issues.apache.org/jira/browse/AIRFLOW-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wilson Lian updated AIRFLOW-2062:
---------------------------------
    Summary: Support just-in-time decryption of Connection credentials  (was: Support just-in-time decryption of Connection credentials in GoogleCloudBaseHook)

> Support just-in-time decryption of Connection credentials
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-2062
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2062
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib
>            Reporter: Wilson Lian
>            Priority: Minor
>
> This entails adding a connection extra field to store a path to a GCP Cloud KMS cryptoKey to be used for decryption.
> To avoid a chicken and egg problem, the cryptoKey must be accessible using application default credentials.
> In the meantime, a workaround is to create a subclass of SubDagOperator in which the "business" task depends on a task that decrypts the key, places it into a temp file in shared storage, and sets up a new Airflow Connection referencing it; and afterwards another task deletes the temp file and Airflow Connection



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)