az network application-gateway auth-cert list shows authentication cert from another subscription and app gateway
- 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
Assessment
This issue has not been assessed yet.