Share via


az eventgrid partner namespace key

Manage shared access keys of a partner namespace.

Commands

Name Description Type Status
az eventgrid partner namespace key list

List shared access keys of a partner namespace.

Core GA
az eventgrid partner namespace key regenerate

Regenerate a shared access key of a partner namespace.

Core GA

az eventgrid partner namespace key list

List shared access keys of a partner namespace.

az eventgrid partner namespace key list --partner-namespace-name
                                        --resource-group

Examples

List shared access keys of a partner namespace (autogenerated)

az eventgrid partner namespace key list --partner-namespace-name MyNamespace --resource-group MyResourceGroup

Required Parameters

--partner-namespace-name

Name of the partner namespace.

--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 partner namespace key regenerate

Regenerate a shared access key of a partner namespace.

az eventgrid partner namespace key regenerate --key-name
                                              --partner-namespace-name
                                              --resource-group

Required Parameters

--key-name

Key name to regenerate key1 or key2.

--partner-namespace-name

Name of the partner namespace.

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