az eventgrid domain key

Manage shared access keys of a domain.

Commands

az eventgrid domain key list

List shared access keys of a domain.

az eventgrid domain key regenerate

Regenerate a shared access key of a domain.

az eventgrid domain key list

List shared access keys of a domain.

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

Examples

List shared access keys of a domain. (autogenerated)

az eventgrid domain key list --name MyDomain --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the domain.

--resource-group -g

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

az eventgrid domain key regenerate

Regenerate a shared access key of a domain.

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

Required Parameters

--key-name

Key name to regenerate key1 or key2.

--name -n

Name of the domain.

--resource-group -g

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