Skip to content

Commit

Permalink
Force soft delete and purge for keyvault (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney authored Mar 26, 2024
1 parent 7595a1e commit 24434dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infra/core/security/keyvault.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' = {
properties: {
tenantId: subscription().tenantId
sku: { family: 'A', name: 'standard' }
enablePurgeProtection: true
enableSoftDelete: true
accessPolicies: !empty(principalId) ? [
{
objectId: principalId
Expand Down

0 comments on commit 24434dd

Please sign in to comment.