Share via


az eventgrid domain key

Manage shared access keys of a domain.

Commands

Name Description Type Status
az eventgrid domain key list

List shared access keys of a domain.

Core GA
az eventgrid domain key regenerate

Regenerate a shared access key of a domain.

Core GA

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>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

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>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.