Skip to content

Commit 69be40d

Browse files
authored
[Key Vault] Update new test resource script (Azure#20663)
1 parent ce307fe commit 69be40d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

sdk/keyvault/test-resources.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"description": "The client OID to grant access to test resources."
2424
}
2525
},
26+
"provisionerApplicationOid": {
27+
"type": "string",
28+
"metadata": {
29+
"description": "The provisioner OID to grant access to test resources."
30+
}
31+
},
2632
"location": {
2733
"type": "string",
2834
"defaultValue": "[resourceGroup().location]",
@@ -188,9 +194,7 @@
188194
},
189195
"properties": {
190196
"tenantId": "[parameters('tenantId')]",
191-
"initialAdminObjectIds": [
192-
"[parameters('testApplicationOid')]"
193-
],
197+
"initialAdminObjectIds": "[union(array(parameters('testApplicationOid')), array(parameters('provisionerApplicationOid')))]",
194198
"enablePurgeProtection": false,
195199
"enableSoftDelete": true,
196200
"publicNetworkAccess": "Enabled",

0 commit comments

Comments
 (0)