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

--namespace-name

The namespace name.

--notification-hub-name

The notification hub name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--apns-certificate

The APNS certificate.

--app-id

The issuer (iss) registered claim key, whose value is your 10-character Team ID, obtained from your developer account.

--app-name

The name of the application/bundle id.

--certificate-key

The certificate key.

--endpoint

The endpoint of this credential. Example values:"gateway.sandbox.push.apple.com","gateway.push.apple.com".

default value: gateway.push.apple.com
--key-id

A 10-character key identifier (kid) key, obtained from your developer account.

--token

Provider Authentication Token, obtained through your developer account.