az eventgrid topic key

Manage shared access keys of a topic.

Commands

az eventgrid topic key list

List shared access keys of a topic.

az eventgrid topic key regenerate

Regenerate a shared access key of a topic.

az eventgrid topic key list

List shared access keys of a topic.

az eventgrid topic key list --name
                            --resource-group

Examples

List shared access keys of a topic (autogenerated)

az eventgrid topic key list --name MyTopic --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the topic.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az eventgrid topic key regenerate

Regenerate a shared access key of a topic.

az eventgrid topic key regenerate --key-name
                                  --name
                                  --resource-group

Required Parameters

--key-name

Key name to regenerate key1 or key2.

--name -n

Name of the topic.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.