From cfdf721226df62cdeaed9f647ad8e5213f8e456b Mon Sep 17 00:00:00 2001 From: "agent-platform-auto-pr[bot]" <153269286+agent-platform-auto-pr[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:24:58 +0100 Subject: [PATCH] [Backport 7.61.x] Rotate e2e tests API key (#31830) Co-authored-by: Kevin Fairise <132568982+KevinFairise2@users.noreply.github.com> --- 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", }