az keyvault network-rule

Manage vault network ACLs.

Commands

az keyvault network-rule add Add a network rule to the network ACLs for a Key Vault.
az keyvault network-rule list Lists the network rules from the network ACLs for a Key Vault.
az keyvault network-rule remove Removes a network rule from the network ACLs for a Key Vault.

az keyvault network-rule add

Add a network rule to the network ACLs for a Key Vault.

az keyvault network-rule add --name
[--ip-address]
[--resource-group]
[--subnet]
[--subscription]
[--vnet-name]

Required Parameters

--name -n

Name of the key vault.

Optional Parameters

--ip-address

IPv4 address or CIDR range.

--resource-group -g

Proceed only if Key Vault belongs to the specified resource group.

--subnet

Name or ID of subnet. If name is supplied, --vnet-name must be supplied.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vnet-name

Name of a virtual network.

az keyvault network-rule list

Lists the network rules from the network ACLs for a Key Vault.

az keyvault network-rule list --name
[--resource-group]
[--subscription]

Required Parameters

--name -n

Name of the key vault.

Optional Parameters

--resource-group -g

Proceed only if Key Vault belongs to the specified resource group.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

az keyvault network-rule remove

Removes a network rule from the network ACLs for a Key Vault.

az keyvault network-rule remove --name
[--ip-address]
[--resource-group]
[--subnet]
[--subscription]
[--vnet-name]

Required Parameters

--name -n

Name of the key vault.

Optional Parameters

--ip-address

IPv4 address or CIDR range.

--resource-group -g

Proceed only if Key Vault belongs to the specified resource group.

--subnet

Name or ID of subnet. If name is supplied, --vnet-name must be supplied.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vnet-name

Name of a virtual network.