Share via


az eventgrid partner namespace key

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

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 list (eventgrid extension)

List shared access keys of a partner namespace.

Extension Preview
az eventgrid partner namespace key regenerate

Regenerate a shared access key of a partner namespace.

Core GA
az eventgrid partner namespace key regenerate (eventgrid extension)

Regenerate a shared access key of a partner namespace.

Extension Preview

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 list (eventgrid extension)

Preview

Command group 'az eventgrid' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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.

az eventgrid partner namespace key regenerate (eventgrid extension)

Preview

Command group 'az eventgrid' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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.