question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AZ APIM show don't show all certificates

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

Some certificates are not shown with AZ APIM show.

Command Name az apim show

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az apim show --name {} --resource-group {}

Expected Behavior

It seems that only “root” category (named “CA certificates” in Azure portal) are shown. Non “CA Certificate” are not displayed by the command.

In my case I added a certificate in a “Key Vault” but no ref to the KV entry can be found in AZ apim show result.

Certificates embedeed directly in APIM (I mean direct integration without using KV) are not shown either.

NB : It does not concern “custom host certificate” which is well present in result of AZ apim show.

Environment Summary

Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04 LTS
Python 3.10.4
Installer: DEB

azure-cli 2.37.0

Additional Context

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Brudemcommented, Jun 28, 2022

Hi SatishBoddu

My issue is not I can’t see or add a certificate in Azure Portal.

All works fine at this side.

What I noticed is that AZ CLI apim show don’t list all certificate.

So it is an issue on AZ CLI only.

Let me know if it is more clear.

Best regards.

0reactions
msftbot[bot]commented, Jul 25, 2022

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adrianhall, @KedarJoshi.

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

Some certificates are not shown with AZ APIM show.

Command Name az apim show

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az apim show --name {} --resource-group {}

Expected Behavior

It seems that only “root” category (named “CA certificates” in Azure portal) are shown. Non “CA Certificate” are not displayed by the command.

In my case I added a certificate in a “Key Vault” but no ref to the KV entry can be found in AZ apim show result.

Certificates embedeed directly in APIM (I mean direct integration without using KV) are not shown either.

NB : It does not concern “custom host certificate” which is well present in result of AZ apim show.

Environment Summary

Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04 LTS
Python 3.10.4
Installer: DEB

azure-cli 2.37.0

Additional Context

Author: Brudem
Assignees: -
Labels:

Service Attention, API Management, customer-reported, needs-team-attention, Auto-Assign

Milestone: -
Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a custom CA certificate - Azure API Management
In the menu, under Security, select Certificates > CA certificates > + Add. Browse for the certificate .cer file and decide on the...
Read more >
Azure API Management (APIM) - Everything you need to know
Learn about Azure API Management and follow along with our guides in this video.This video is part of a larger course prepping you...
Read more >
SSL handshake error with some Azure CLI commands
Including export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=anycontent to disable certificate check (not recommended) and export ...
Read more >
Azure CLI: Call Azure REST API Directly - Build5Nines
az login # don't forget to login first # Get Azure Subscription ID subscriptionId=$(az account show --query id -o tsv) # List all...
Read more >
Protect your APIs with Azure API Management - part 2 (OAuth ...
The second option is to use client certificates. You can use certificates to provide TLS authentication between the client and the API ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found