Azure / Azure/azure-cli

`az keyvault certificate list` - does not list disabled/failed certificates

Open
#16,418 2 comments 0 reactions 1 assignee Claimed by @houk-ms View on GitHub
act-identity-squad feature-request KeyVault
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**
Running `az keyvault certificate list --vault-name $VAULT_NAME` or `az keyvault certificate list --include-pending --vault-name $VAULT_NAME` or az keyvault certificate list-deleted --vault-name $VAULT_NAME` returns only enabled certificates, skips disabled certificates.

**To Reproduce**
Running any of the above commands when a keyvault contains a disabled certificate

**Expected behavior**
disabled certificates should be listed as well

## Environment Summary
```
Linux-4.19.128-microsoft-standard-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.17.0

```

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.