Skip to content

Commit

Permalink
Add provisioner OID to initial MHSM admins (#23929)
Browse files Browse the repository at this point in the history
Necessary after Azure/azure-sdk-tools#1983 is merged.
  • Loading branch information
heaths committed Sep 13, 2021
1 parent 6347eba commit aa88957
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions sdk/keyvault/test-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
},
"testApplicationOid": {
"type": "string",
"defaultValue": "b3653439-8136-4cd5-aac3-2a9460871ca6",
"metadata": {
"description": "The client OID to grant access to test resources."
}
},
"provisionerApplicationOid": {
"type": "string",
"metadata": {
"description": "The provisioner OID to grant access to test resources."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
Expand Down Expand Up @@ -183,9 +188,7 @@
},
"properties": {
"tenantId": "[parameters('tenantId')]",
"initialAdminObjectIds": [
"[parameters('testApplicationOid')]"
],
"initialAdminObjectIds": "[union(array(parameters('testApplicationOid')), array(parameters('provisionerApplicationOid')))]",
"enablePurgeProtection": false,
"enableSoftDelete": true,
"softDeleteRetentionInDays": 7,
Expand Down

0 comments on commit aa88957

Please sign in to comment.