az keyvault secret list --id expects key vault uri instead of resource id
Open
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
Assessment
This issue has not been assessed yet.