CmdID / az / az servicebus / az servicebus topic / az servicebus topic authorization-rule / az servicebus topic authorization-rule keys
az servicebus topic authorization-rule keys renew
Regenerates primary or secondary connection strings for the topic. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
Regenerate key of Service Bus Topic.
az servicebus topic authorization-rule keys renew --resource-group myresourcegroup --namespace-name mynamespace --topic-name mytopic --name myauthorule --key PrimaryKeyIdentify--resource-groupName of resource group.--namespace-nameThe namespace name--topic-nameThe topic name.--nameThe authorization rule name.--keyThe access key to regenerate.Options
--authorization-rule-name, --name, -nThe authorization rule name.--key-valueOptional, if the key value provided, is reset for KeyType value or autogenerate Key value set for keyType--keyThe access key to regenerate.--namespace-nameThe namespace name--topic-nameThe topic name.