Azure / Azure/azure-cli

az network application-gateway auth-cert list shows authentication cert from another subscription and app gateway

Open
#14,523 4 comments 0 reactions 1 assignee Claimed by @haroldrandom View on GitHub
act-quality-productivity-squad bug Network - Application Gateway Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
Listing authorization certificates of an application gateway is done as follows:

`az network application-gateway auth-cert list -g test --gateway-name test-aag --query '[].name' -o tsv`

Note: Argument values have been redacted to avoid showing sensitive information.

What is being observed is that apart from showing the backend authentication certificates of the application gateway specified in the command, another one is displayed which is part of a different subscription and application gateway. If I see the list of authorization certificates in the portal under HTTP settings of the application gateway, it is correct and shows only the ones which have been added specific to this gateway. However, when doing the same thing from the CLI, it shows an extra one which belongs to a different subscription and application gateway. This looks like a bug.

**To Reproduce**
To reproduce it for you, I need to provide my subscription details, resource group name, gateway name etc. Is there is secure way to provide that information and the output.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.