az notification-hub credential apns
Commands to manage notification hub credential for Apple(APNS).
Commands
az notification-hub credential apns update |
Update credential for Apple(APNS). |
az notification-hub credential apns update
Update credential for Apple(APNS).
az notification-hub credential apns update --namespace-name
--notification-hub-name
--resource-group
[--apns-certificate]
[--app-id]
[--app-name]
[--certificate-key]
[--endpoint]
[--key-id]
[--token]
Examples
Update APNS certificate
az notification-hub credential apns update --namespace-name my-namespace \
--notification-hub-name my-hub --apns-certificate "/path/to/certificate" \
--certificate-key "xxxxxx" --resource-group MyResourceGroup
Required Parameters
The namespace name.
The notification hub name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The APNS certificate.
The issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account.
The name of the application/bundle id.
The certificate key.
The endpoint of this credential. Example values:"gateway.sandbox.push.apple.com","gateway.push.apple.com".
A 10-character key identifier (kid) key, obtained from your developer account.
Provider Authentication Token, obtained through your developer account.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.