SecretsManager: Adding ability to disable all DEKs (#108444)

* Adding dek deactivation and rename list dek

* disable data keys from manager

* separate interface and don't use in encryption manager
This commit is contained in:
Dana Axinte
2025-07-25 17:11:17 +01:00
committed by GitHub
parent f69f25be5d
commit b1b9cc43a8
11 changed files with 167 additions and 17 deletions
@@ -159,6 +159,15 @@ func TestDataKeyQueries(t *testing.T) {
},
},
},
sqlDataKeyDisableAll: {
{
Name: "disable",
Data: &disableAllDataKeys{
SQLTemplate: mocks.NewTestingSQLTemplate(),
Updated: time.Unix(1735689600, 0).UTC(),
},
},
},
},
})
}