Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Updated keyvault access policy (#3109)
Browse files Browse the repository at this point in the history
* updated keyvault access policy for function app compatibility
  • Loading branch information
AdamL-Microsoft authored Jun 28, 2023
1 parent 9483abc commit f80386f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/deployment/azuredeploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ resource keyVault 'Microsoft.KeyVault/vaults@2021-10-01' = {
location: location
properties: {
enabledForDiskEncryption: false
enabledForDeployment: true
enabledForTemplateDeployment: true
sku: {
family: 'A'
Expand Down Expand Up @@ -125,14 +126,16 @@ resource keyVault 'Microsoft.KeyVault/vaults@2021-10-01' = {
}
}
{
objectId: 'abfa0a7c-a6b6-4736-8310-5855508787cd'
objectId: 'b453993d-81d4-41a7-be3a-549bc2435ffa'
tenantId: tenantId
permissions: {
secrets: [
'get'
'list'
]
certificates: [
'get'
'list'
]
}
}
Expand Down

0 comments on commit f80386f

Please sign in to comment.