https://pulumi.com logo
#getting-started
Title
# getting-started
c

crooked-parrot-53351

07/14/2021, 5:39 PM
Afternoon, I'm working on creating a notification hub in Azure using the TypeScript Azure-Native SDK from pulumi. In setting up our APNS information (using certificate authentication mode), I see that the input
ApnsCredential
(https://www.pulumi.com/docs/reference/pkg/azure-native/notificationhubs/notificationhub/#apnscredential) with prop
apnsCertificate
is of type
string
. The p12 file provided by Apple is a binary file; is there a text encoding that Pulumi is expecting when setting the value?
I found https://docs.microsoft.com/en-us/rest/api/notificationhubs/create-notification-hub which seems to indicate
base64
encoding. Does this seem right?
3 Views