az keyvault update returns "The Vault '<vault name>' not found within subscription"
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Hi,
I have been using az keyvault update programmatically to update firewall rules when required while deploying our application. however, i am getting a vault not found error since yesterday if i run this command without --resource-group parameter. it used to work earlier but not working now. docs do not have --resource-group as required parameter.
command : az keyvault update --name --subscription --set properties.networkAcls.bypass=AzureServices --set properties.networkAcls.defaultAction=Deny --set properties.networkAcls.ipRules='[{"value":""}]'
if required parameters are indeed changed for this command, they should be reflected on docs as well; otherwise this issue should not occur.
---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: 226e5769-f6c8-a480-db78-727fb96348ec
* Version Independent ID: 8ee06a2a-6eda-11be-3c8e-6ad948be207e
* Content: [az keyvault](https://learn.microsoft.com/en-us/cli/azure/keyvault?view=azure-cli-latest#az-keyvault-update)
* Content Source: [latest/docs-ref-autogen/keyvault.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/keyvault.yml)
* Service: **key-vault**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.