Azure / Azure/azure-cli

az keyvault secret list --id expects key vault uri instead of resource id

Open
#17,894 1 comment 1 reaction 1 assignee Claimed by @a0x1ab View on GitHub
act-identity-squad feature-request KeyVault question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug

**Command Name**
`az keyvault secret list`

**Errors:**

The `--id` parameter, but it expects the key vault uri instead of a resource Id.

This is inconsistent with other commands.

## Expected Behavior

`--id` should accept a resource id and there should be an optional/alternative input for key vault uri.

## Environment Summary
```
Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-glibc2.2.5
Python 3.8.9
Installer: HOMEBREW

azure-cli 2.22.0 *

Extensions:
azure-devops 0.18.0
aks-preview 0.5.5
import-export 0.1.1

```

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.