az notification-hub credential gcm

Commands to manage notification hub credential for Google(GCM/FCM).

Commands

az notification-hub credential gcm update

Update the Google GCM/FCM API key.

az notification-hub credential gcm update

Update the Google GCM/FCM API key.

az notification-hub credential gcm update --google-api-key
                                          --namespace-name
                                          --notification-hub-name
                                          --resource-group

Examples

Update gcm key

az notification-hub credential gcm update --resource-group MyResourceGroup \
--namespace-name my-namespace --notification-hub-name my-hub --google-api-key \
"xxxxxxxxx"

Required Parameters

--google-api-key

Google GCM/FCM API key.

--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>.