File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"template" : " https://github.com/Azure-Samples/Azure-Python-Standardization-Template-Generator" ,
3
- "commit" : " f9a5fdc99895df6e7f4844a19cb000ec8eb23bca " ,
3
+ "commit" : " 071985944385a0faa5d5510469b94eac92339d1f " ,
4
4
"checkout" : null ,
5
5
"context" : {
6
6
"cookiecutter" : {
Original file line number Diff line number Diff line change @@ -5,13 +5,26 @@ param tags object = {}
5
5
6
6
param principalId string = ''
7
7
8
+ @description ('List of IP addresses or IP address ranges in CIDR format that are allowed to access the key vault.' )
9
+ param ipRules array = []
10
+
11
+ // Allow all Azure services to bypass Key Vault network rules
12
+ param allowAzureServicesAccess bool = true
13
+
8
14
resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' = {
9
15
name : name
10
16
location : location
11
17
tags : tags
12
18
properties : {
13
19
tenantId : subscription ().tenantId
14
20
sku : { family : 'A' , name : 'standard' }
21
+ networkAcls : {
22
+ bypass : allowAzureServicesAccess ? 'AzureServices' : 'None'
23
+ defaultAction : 'Deny'
24
+ ipRules : ipRules
25
+ virtualNetworkRules : []
26
+ }
27
+ enableRbacAuthorization : true
15
28
accessPolicies : !empty (principalId ) ? [
16
29
{
17
30
objectId : principalId
You can’t perform that action at this time.
0 commit comments