This commit is contained in:
Carlos Polop
2025-02-11 17:56:10 +01:00
parent 4e491e3f55
commit 30236714f5

View File

@@ -31,6 +31,19 @@ az keyvault set-policy \
--storage-permissions all
```
### Modify Network Restrictions
It might be possible tthat you have enough permissions th access sensitive data (like the value of a secret) but you can't access it because the key vault is restricted to a specific network. If you have the permission to modify the network restrictions you can add your IP to the list of allowed IPs.
```bash
# Get the current network restrictions
az keyvault network-rule list --name <vault-name>
# Add your IP to the list
az keyvault network-rule add --name <vault-name> --ip-address <your-ip>
```
{{#include ../../../banners/hacktricks-training.md}}