CmdID / az / az notification-hub / az notification-hub namespace / az notification-hub namespace authorization-rule
az notification-hub namespace authorization-rule list-keys
List the primary and secondary connection strings to the namespace. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
List keys of the namesapce authorization rule
az notification-hub namespace authorization-rule list-keys --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey"Identify--resource-groupName of resource group.--namespace-nameThe namespace name.--nameThe connection string of the namespace for the specified authorizationRule.Options
--name, -nThe connection string of the namespace for the specified authorizationRule.--namespace-nameThe namespace name.