Azure / Azure/azure-cli

az keyvault certificate show returns disabled entry

Open
#26,044 4 comments 0 reactions 1 assignee Claimed by @evelyn-ys View on GitHub
act-identity-squad Auto-Assign Auto-Resolve customer-reported KeyVault question Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az keyvault certificate show`

**Errors:**
Disabled current version is being returned (pretty likely that the same goes for secrets).

## To Reproduce:
Have a current version whose state is disabled.

## Expected Behavior
Disabled entries should not count as current version.

## Environment Summary
```
Windows-10-10.0.19045-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.46.0 *

Extensions:
account 0.2.5

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
```

## Additional Context

Appending `--query "[?attributes.enabled]"` seems to return nothing.

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.