CmdID

CmdID / az / az servicebus / az servicebus namespace / az servicebus namespace authorization-rule / az servicebus namespace authorization-rule keys

az servicebus namespace authorization-rule keys renew

Regenerates the primary or secondary connection strings for the namespace. Azure CLI reference

2 examples 4 options Its page in the Azure CLI 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 Authorization Rule for the Service Bus Namespace.

az servicebus namespace authorization-rule keys renew --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --key PrimaryKeyIdentify
--resource-groupName of resource group.
--namespace-nameThe namespace name
--nameThe authorization rule name.
--keyThe access key to regenerate.

Regenerate keys of Authorization Rule for the Service Bus Namespace (autogenerated)

az servicebus namespace authorization-rule keys renew --key PrimaryKey --name myauthorule --namespace-name mynamespace --resource-group myresourcegroup --subscription MySubscriptionIdentify
--keyThe access key to regenerate.
--nameThe authorization rule name.
--namespace-nameThe namespace name
--resource-groupName of resource group.
--subscriptionName or ID of subscription.

Options

4 in the Azure CLI reference
--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