Azure / azure-cli

Azure Command-Line Interface
MIT License
4.03k stars 3k forks source link

az cli missing functionality in az cli - az keyvault certificate pending .... #28021

Open eddiewhho opened 11 months ago

eddiewhho commented 11 months ago

Describe the bug

After creating certificate in azure keyvault using below command az keyvault certificate create There is not option to download the csr for signing using az cli or powershell?? az keyvault certificate pending ....

It's only possible to download using the portal at the moment??

Related command

az keyvault certificate create az keyvault certificate pending .... az keyvault certificate pending merge

Errors

There is no error since the functionality is not available

Issue script & Debug output

There is no error since the functionality is not available

Expected behavior

az keyvault certificate pending download

Environment Summary

{ "azure-cli": "2.55.0", "azure-cli-core": "2.55.0", "azure-cli-telemetry": "1.1.0", "extensions": { "ssh": "2.0.1" } }

Additional context

Only available to download the csr via portal

yonzhan commented 11 months ago

Thank you for opening this issue, we will look into it.

eddiewhho commented 11 months ago

Snip 2023-12-13 16 33 40

evelyn-ys commented 11 months ago

Here's the command az keyvault certificate download: https://learn.microsoft.com/en-us/cli/azure/keyvault/certificate?view=azure-cli-latest#az-keyvault-certificate-download

eddiewhho commented 11 months ago

@evelyn-ys that link https://learn.microsoft.com/en-us/cli/azure/keyvault/certificate?view=azure-cli-latest#az-keyvault-certificate-download is to download the certificate private/public key, I need to download the CSR, Certificate Signing Request to create proper certificates before I can use what the link shows.

step1: az keyvault certificate create step2: az keyvault certificate pending step3: az keyvault certificate pending merge

microsoft-github-policy-service[bot] commented 11 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @RandalliLama, @schaabs, @jlichwa.

jlichwa commented 9 months ago

@evelyn-ys I assume that this feature is implemented already, show is used to download the csr: https://learn.microsoft.com/en-us/cli/azure/keyvault/certificate/pending?view=azure-cli-latest#az-keyvault-certificate-pending-show

eddiewhho commented 3 months ago

@jlichwa that only shows that certificate has a pending action, but doesnt actually download the CSR for it.