SecretsManager: keepers with secure values credentials (#106761)

* SecretsManager: keepers with secure values

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>

* Keepers: Refactor extract secure values remove extra helper functions

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>

---------

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
This commit is contained in:
Dana Axinte
2025-06-16 14:37:36 +01:00
committed by GitHub
co-authored by Matheus Macabu
parent c28523decf
commit dbe815ee68
8 changed files with 230 additions and 3 deletions
-2
View File
@@ -134,7 +134,6 @@ func TestIntegrationKeeper(t *testing.T) {
})
t.Run("and updating the keeper to reference securevalues that does not exist returns an error", func(t *testing.T) {
t.Skip("skipping because storing credentials as securevalues is not implemented yet")
newRaw := helper.LoadYAMLOrJSONFile("testdata/keeper-aws-generate.yaml")
newRaw.SetName(raw.GetName())
newRaw.Object["spec"].(map[string]any)["aws"] = map[string]any{
@@ -184,7 +183,6 @@ func TestIntegrationKeeper(t *testing.T) {
})
t.Run("creating a keeper that references securevalues that does not exist returns an error", func(t *testing.T) {
t.Skip("skipping because storing credentials as securevalues is not implemented yet")
testDataKeeper := helper.LoadYAMLOrJSONFile("testdata/keeper-aws-generate.yaml")
testDataKeeper.Object["spec"].(map[string]any)["aws"] = map[string]any{
"accessKeyId": map[string]any{