CmdID / az / az eventgrid / az eventgrid namespace / az eventgrid namespace topic
az eventgrid namespace topic list-key
List the two keys used to publish to a namespace topic. Azure CLI extensions reference
1 example 2 options Its page in the Azure CLI extensions reference
Examples
List key
az eventgrid namespace topic list-key -g rg --topic-name topic --namespace-name nameIdentify-gName of resource group.--topic-nameName of the topic.--namespace-nameName of the namespace.Options
--namespace-nameName of the namespace.--topic-nameName of the topic.