Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
az eventgrid topic key
Manage shared access keys of a topic.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az eventgrid topic key list |
List shared access keys of a topic. |
Core | GA |
| az eventgrid topic key regenerate |
Regenerate a shared access key of a topic. |
Core | GA |
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 of the topic.
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
[--acquire-policy-token]
[--change-reference]
Required Parameters
Key name to regenerate key1 or key2.
Name of the topic.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Feedback
Was this page helpful?
