az notification-hub credential apns
Note
This reference is part of the notification-hub extension for the Azure CLI (version 2.49.0 or higher). The extension will automatically install the first time you run an az notification-hub credential apns command. Learn more about extensions.
Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands
Name | Description | Type | Status |
---|---|---|---|
az notification-hub credential apns update |
Update credential for Apple(APNS). |
Extension | Experimental |
az notification-hub credential apns update
Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update credential for Apple(APNS).
az notification-hub credential apns update --name
--namespace-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 notification hub name.
The namespace 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. The value is a 10-character TeamId, obtained from your developer account. Specify if using Token Authentication Mode.
The name of the application or BundleId. Specify if using Token Authentication Mode.
The APNS certificate password if it exists.
The APNS endpoint of this credential. If using Certificate Authentication Mode and Sandbox specify 'gateway.sandbox.push.apple.com'. If using Certificate Authentication Mode and Production specify 'gateway.push.apple.com'. If using Token Authentication Mode and Sandbox specify 'https://api.development.push.apple.com:443/3/device'. If using Token Authentication Mode and Production specify 'https://api.push.apple.com:443/3/device'.
A 10-character key identifier (kid) key, obtained from your developer account. Specify if using Token Authentication Mode.
Provider Authentication Token, obtained through your developer account. Specify if using Token Authentication Mode.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.