- Newest
- Most votes
- Most comments
Hi!
Please see the attached example configuration overrides using Gmail smtp as an example.
Thanks!
Hi,
Thank you for your answer.
So for using SES, should I create an IAM user with SES credentials and then feed in the config the Access Key and Secret? Any way to protect the secrets?
Thanks
Edited by: paj-zj-99 on Feb 1, 2021 1:37 AM
Just for the records in case helps others.
Setting the access key in smtp.smtp_user and the associated ses password into the smtp.smtp_password works.
The main issue for me is passing the password as a plain text config... I hope soon we get a way of securely passing such secrets
In my case, the value of smtp_user option is 'apikey' and the smtp_password is 'SG.-rXXXXXXXXXXXXXXXXXXX2U'. I tried setting these values but they are not being considered. When I checked the Airflow configuration options in my environment, it did not have the smtp_user and smtp_password options. Please help me fix this.
FYI, the above options and their values work fine to send an email in an EC2 setup of Airflow but not in managed Airflow environment.
Edited by: ArjunAnaji on May 17, 2021 8:01 AM
It worked somehow when I set the smtp_user and smtp_password arguments again in my environment. I'm not sure whether the issue has been fixed recently.
You all should try using AWS Secrets Manager to store and retrieve your SES credentials.
Relevant content
- asked 3 years ago
- Accepted Answerasked 4 months ago
- asked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago