Hi! So I'm currently studying about airflow and I want to know more how to create an email notification in cloud composer using SMTP server but I have an error like this
[2022-12-05, 13:30:25 WIB] {credentials_provider.py:324} INFO - Getting connection using `google.auth.default()` since no key file is defined for hook. [2022-12-05, 13:30:25 WIB] {secret_manager_client.py:88} ERROR - Google Cloud API Call Error (PermissionDenied): No access for Secret ID airflow-config-smtp-password. Did you add 'secretmanager.versions.access' permission? [2022-12-05, 13:30:25 WIB] {configuration.py:381} WARNING - section/key [smtp/smtp_password] not found in config
and I already created airflow configuration overrides like this
And I already adding this role in my SA cloud composer
Can anyone help me?
Thankyou
Best regards,
Puspa
Solved! Go to Solution.
Try adding Secret Manager Admin role and see if it works on your end.
Try adding Secret Manager Admin role and see if it works on your end.