You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to send to ses/sns via apprise from a lambda, the lambda has permission to send in its iam role but as apprise forces you to specify a access key and secret key i am doing the following
svc='ses://[email protected]' + os.environ.get('AWS_ACCESS_KEY_ID') + '/' + os.environ.get('AWS_SECRET_ACCESS_KEY') + '/eu-west-1/' + recip_email
This should use the keys from the lambda but i get an error Unauthorized - Invalid Access/Secret Key Combination
any advice on how to get this working with lambda?
The text was updated successfully, but these errors were encountered:
I have printed out the keys and they look ok, just thought i would check to see if its been done before. one way could be to use boto3 send_email if keys dont exist in the url, was there a reason against using boto3? if not i can take a look to see if i can figure it out and use send_email rather than requests if not keys exist
I have printed out the keys and they look ok, just thought i would check to see if its been done before. one way could be to use boto3 send_email if keys dont exist in the url, was there a reason against using boto3? if not i can take a look to see if i can figure it out and use send_email rather than requests if not keys exist
The boto library is great, but very full of code and features that Apprise simply doesn't use. Keeping to it's minimalistic nature is a route i want to continue to strive to. I'm pretty certain it will involve some effort to add the iam role, but not impossible. Amazon's libraries and APIs are well documented. I'm more concerned that the keys aren't working
❓ Question
I want to send to ses/sns via apprise from a lambda, the lambda has permission to send in its iam role but as apprise forces you to specify a access key and secret key i am doing the following
svc='ses://[email protected]' + os.environ.get('AWS_ACCESS_KEY_ID') + '/' + os.environ.get('AWS_SECRET_ACCESS_KEY') + '/eu-west-1/' + recip_email
This should use the keys from the lambda but i get an error Unauthorized - Invalid Access/Secret Key Combination
any advice on how to get this working with lambda?
The text was updated successfully, but these errors were encountered: