Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send push notifications from AWS SNS using a Push Notification Key (p8 file)

When faced with the task of renewing my soon to expire push certificate I stubled on this suggestion of using a push notifications auth key which never expires.

Now I couldn't find a way to get it to work with AWS SNS, nor could I find any information on using p8 files with that service. Is it even possible?

like image 838
David Schumann Avatar asked Apr 08 '19 08:04

David Schumann


1 Answers

Amazon SNS now supports token-based authentication using .p8 key file. You can also choose to use certificate-based authentication if you prefer.

You can learn more at https://docs.aws.amazon.com/sns/latest/dg/sns-apple-authentication-methods.html

like image 128
shiva Avatar answered Oct 10 '22 08:10

shiva