Apple Push Notification Service binding spec

    To setup Apple Push Notifications binding create a component of type . See this guide on how to create and apply a binding configuration.

    The APNS binding needs a cryptographic private key in order to generate authentication tokens for the APNS service. The private key can be generated from the Apple Developer Portal and is provided as a PKCS #8 file with the private key stored in PEM format. The private key should be stored in the Dapr secret store and not stored directly in the binding’s configuration file.

    If using Kubernetes, a sample secret configuration may look like this:

    This component supports output binding with the following operations:

    The data object contains a complete push notification specification as described in the . The data object will be sent directly to the APNs service.

    Besides the device-token value, the HTTP headers specified in the Apple documentation can be sent as metadata fields and will be included in the HTTP request to the APNs service.