我有胳膊,创造我导入的证书与密码,密钥库通知枢纽例如,现在我想使用证书作为苹果通知中心的APNS。
我想这样的事情,但总是错误的请求:
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs",
"apiVersion": "2017-04-01",
"name": "[concat(parameters('namespaces_nhn_ecosystem_name'), '/nh-ecosystem-', parameters('environmentSuffix'))]",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.NotificationHubs/namespaces', parameters('namespaces_nhn_ecosystem_name'))]"
],
"properties": {
"authorizationRules": [],
"apnsCredential": {
"properties": {
"apnsCertificate": "apns-cert-secret", <-name of the certificate in key vault
"certificateKey": "certpasswordhere",
"endpoint": "gateway.sandbox.push.apple.com"
}
}
}