CmdID

CmdID / az / az notification-hub / az notification-hub namespace / az notification-hub namespace authorization-rule

az notification-hub namespace authorization-rule regenerate-keys

Regenerate the primary/secondary keys to the namespace authorization rule. Azure CLI extensions reference

1 example 3 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Regenerate keys of the namesapce authorization rule

az notification-hub namespace authorization-rule regenerate-keys --resource-group MyResourceGroup --namespace-name my-namespace --name "RootManageSharedAccessKey" --policy-key "Secondary Key"Identify
--resource-groupName of resource group.
--namespace-nameThe namespace name.
--nameThe connection string of the namespace for the specified authorizationRule.
--policy-keyName of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.

Options

3 in the Azure CLI extensions reference
--name, -nThe connection string of the namespace for the specified authorizationRule.
--namespace-nameThe namespace name.
--policy-keyName of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule.