az keyvault network-rule
Manage vault network ACLs.
Commands
Name | Description | Type | Status |
---|---|---|---|
az keyvault network-rule add |
Add a network rule to the network ACLs for a Key Vault. |
Core | GA |
az keyvault network-rule list |
List the network rules from the network ACLs for a Key Vault. |
Core | GA |
az keyvault network-rule remove |
Remove a network rule from the network ACLs for a Key Vault. |
Core | GA |
az keyvault network-rule wait |
Place the CLI in a waiting state until a condition of the vault is met. |
Core | GA |
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]
[--no-wait]
[--resource-group]
[--subnet]
[--vnet-name]
Examples
Add a specific IP address to the network access rules of a Key Vault in a specified resource group using this command. (autogenerated)
az keyvault network-rule add --ip-address 1.2.3.4 --name cli-mock-kv-nr --resource-group cli_mock_keyvault_network_rule
Required Parameters
Name of the Vault.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
IPv4 address or CIDR range. Can supply a list: --ip-address ip1 [ip2]...
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Proceed only if Key Vault belongs to the specified resource group.
Name or ID of subnet. If name is supplied, --vnet-name
must be supplied.
Name of a virtual network.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az keyvault network-rule list
List the network rules from the network ACLs for a Key Vault.
az keyvault network-rule list --name
[--resource-group]
Required Parameters
Name of the Vault.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Proceed only if Key Vault belongs to the specified resource group.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az keyvault network-rule remove
Remove a network rule from the network ACLs for a Key Vault.
az keyvault network-rule remove --name
[--ip-address]
[--no-wait]
[--resource-group]
[--subnet]
[--vnet-name]
Required Parameters
Name of the Vault.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
IPv4 address or CIDR range. Can supply a list: --ip-address ip1 [ip2]...
Do not wait for the long-running operation to finish.
Property | Value |
---|---|
Default value: | False |
Proceed only if Key Vault belongs to the specified resource group.
Name or ID of subnet. If name is supplied, --vnet-name
must be supplied.
Name of a virtual network.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az keyvault network-rule wait
Place the CLI in a waiting state until a condition of the vault is met.
az keyvault network-rule wait --name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--resource-group]
[--timeout]
[--updated]
Examples
Pause CLI until the network ACLs are updated.
az keyvault network-rule wait --name MyVault --updated
Required Parameters
Name of the Vault.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Wait until created with 'provisioningState' at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Wait until deleted.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Wait until the resource exists.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Polling interval in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 30 |
Proceed only if Key Vault belongs to the specified resource group.
Maximum wait in seconds.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
Property | Value |
---|---|
Parameter group: | Wait Condition Arguments |
Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |