From 99fa8dbccc58b7b27a2185ab95a367df67ad6a3f Mon Sep 17 00:00:00 2001 From: Kevin Fairise <132568982+KevinFairise2@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:12:59 +0100 Subject: [PATCH] Rotate e2e tests API key (#31818) (cherry picked from commit 88c98ae502d042d0826a09369e2aa05a1055987a) --- test/new-e2e/pkg/runner/parameters/store_aws.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/new-e2e/pkg/runner/parameters/store_aws.go b/test/new-e2e/pkg/runner/parameters/store_aws.go index 1a9ccfd55228a..7a2bc86aeea18 100644 --- a/test/new-e2e/pkg/runner/parameters/store_aws.go +++ b/test/new-e2e/pkg/runner/parameters/store_aws.go @@ -9,9 +9,10 @@ import ( "context" "errors" "fmt" - "github.com/DataDog/datadog-agent/test/new-e2e/pkg/utils/common" "strings" + "github.com/DataDog/datadog-agent/test/new-e2e/pkg/utils/common" + "github.com/aws/aws-sdk-go-v2/service/ssm" ssmTypes "github.com/aws/aws-sdk-go-v2/service/ssm/types" @@ -59,6 +60,6 @@ func (s awsStore) get(key StoreKey) (string, error) { // awsOverrides is a map of StoreKey to StoreKey used to override key only in AWS store var awsOverrides = map[StoreKey]StoreKey{ - APIKey: "api_key_2", + APIKey: "api_key_3", APPKey: "app_key_2", }