Skip to content

Commit

Permalink
Fixing KV purge protection on by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielscholl committed Jan 17, 2024
1 parent e1f9640 commit c2f62e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.24.24.22086",
"templateHash": "15099609505329783468"
"templateHash": "8345717965934980829"
}
},
"parameters": {
Expand Down Expand Up @@ -7282,6 +7282,9 @@
"diagnosticLogsRetentionInDays": {
"value": 0
},
"enablePurgeProtection": {
"value": false
},
"accessPolicies": {
"value": [
{
Expand Down
2 changes: 2 additions & 0 deletions bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ module keyvault 'br:osdubicep.azurecr.io/public/azure-keyvault:1.0.7' = {
diagnosticWorkspaceId: logAnalytics.outputs.resourceId
diagnosticLogsRetentionInDays: 0

enablePurgeProtection: false

// Configure Access
accessPolicies: [
{
Expand Down

0 comments on commit c2f62e4

Please sign in to comment.