Commit ebce40b
Enable purge protection on key-vault-secret-create vault
Adds enablePurgeProtection: true to the vault in key-vault-secret-create/main.bicep
(and the regenerated azuredeploy.json).
Without purge protection, soft-deleted vault contents can be permanently
destroyed during the soft-delete retention window. Enabling purge
protection guarantees the configured retention window is honored, which
is the recommended Key Vault security baseline.
Validation:
- correlationId: 36fa8201-9ac1-4932-8c3c-7d4c1dbf36d6
- deploymentName: kvs-deploy-99a79900
- region: eastus
- provisioningState: Succeeded
metadata.json updated with validationType: Manual and the
testResult.deployments block.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ca5c529 commit ebce40b
3 files changed
Lines changed: 12 additions & 2 deletions
File tree
- quickstarts/microsoft.keyvault/key-vault-secret-create
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
0 commit comments