JavierLopezT opened a new pull request #15104:
URL: https://github.com/apache/airflow/pull/15104


   One of the main advantages of using AWS Secrets Manager is its ability to 
automatically create secrets of RDS databases and Redshift databases. Those 
secrets consist of several keys with their values, i.e user, pass, etc. Also, 
it is normal to store API Keys, sftp, or whatever using different values, as 
shown in the picture below:
   ![Captura de pantalla 2020-05-22 a las 10 41 
07](https://user-images.githubusercontent.com/11339132/82648933-c23ac100-9c18-11ea-9f7c-6a36d0333bbe.png)
   
   With the current code, all the keys and values obtained from a secret are 
stored in the schema attribute of the conn object, unless you have just one key 
with the conn_uri in the value. Thus, the current situation is forcing to use 
Secrets Manager in a way it is not intended to.
   
   With this proposed modification, you can use AWS Secrets Manager using keys 
and values and have some kind of freedom to choose different words for each key 
to make the get_conn work.
   
   I need help and guidance with tests, please. Thanks
   


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

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


Reply via email to