Skip to content

A simple service for the automatic verification of SNS HTTPS subscriptions

Notifications You must be signed in to change notification settings

pipetail/sns-confirmation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNS confirmation

Confirmation requests can be easily distinguished by the Header so confirmation requests can be routed to the dedicated service.

X-Amz-Sns-Message-Type: SubscriptionConfirmation

Traefik example

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: main
spec:
  entryPoints:
  - web
  - websecure
  routes:
  - kind: Rule
    match: Host(`some.site.com.uk) && PathPrefix(`/api/v1/commands`) && (HeadersRegexp(`X-Amz-Sns-Message-Type`, `SubscriptionConfirmation`))
    middlewares: []
    services:
    - name: sns-n-confirmation
      port: 80

About

A simple service for the automatic verification of SNS HTTPS subscriptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages