az notification-hub credential

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 command. Learn more about extensions.

Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to manage notification hub credential.

Commands

Name Description Type Status
az notification-hub credential adm Extension Experimental
az notification-hub credential adm update

Update credential for Amazon(ADM).

Extension Experimental
az notification-hub credential apns Extension Experimental
az notification-hub credential apns update

Update credential for Apple(APNS).

Extension Experimental
az notification-hub credential baidu Extension Experimental
az notification-hub credential baidu update

Update credential for Baidu(Andrioid China).

Extension Experimental
az notification-hub credential gcm Extension Experimental
az notification-hub credential gcm update

Update the Google GCM/FCM API key.

Extension Experimental
az notification-hub credential list

Lists the PNS credentials associated with a notification hub.

Extension Experimental
az notification-hub credential mpns Extension Experimental
az notification-hub credential mpns update

Update credential for Windows Phone(MPNS).

Extension Experimental
az notification-hub credential wns Extension Experimental
az notification-hub credential wns update

Update credential for Windows(WNS).

Extension Experimental

az notification-hub credential list

Experimental

Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Lists the PNS credentials associated with a notification hub.

az notification-hub credential list --namespace-name
                                    --notification-hub-name
                                    --resource-group

Examples

List the PNS credentials associated with a notification hub .

az notification-hub credential list --resource-group MyResourceGroup --namespace-name my-namespace --notification-hub-name my-hub

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.