diff --git a/integration/base_failover_integration_test.cc b/integration/base_failover_integration_test.cc index c49dc4efe..9a20bc897 100644 --- a/integration/base_failover_integration_test.cc +++ b/integration/base_failover_integration_test.cc @@ -65,12 +65,6 @@ static std::string DOWN_STREAM_STR = "DOWNSTREAM"; static std::string UP_STREAM_STR = "UPSTREAM"; -static std::string ACCESS_KEY = std::getenv("AWS_ACCESS_KEY_ID"); -static std::string SECRET_ACCESS_KEY = std::getenv("AWS_SECRET_ACCESS_KEY"); -static std::string SESSION_TOKEN = std::getenv("AWS_SESSION_TOKEN"); -static Aws::Auth::AWSCredentials credentials = Aws::Auth::AWSCredentials(Aws::String(ACCESS_KEY), - Aws::String(SECRET_ACCESS_KEY), - Aws::String(SESSION_TOKEN)); static Aws::Client::ClientConfiguration client_config; static Aws::SDKOptions options; static std::shared_ptr rds_client; diff --git a/integration/failover_integration_test.cc b/integration/failover_integration_test.cc index ee759b172..46ac95ef3 100644 --- a/integration/failover_integration_test.cc +++ b/integration/failover_integration_test.cc @@ -36,7 +36,7 @@ class FailoverIntegrationTest : public BaseFailoverIntegrationTest { static void SetUpTestSuite() { Aws::InitAPI(options); - rds_client = std::make_shared(credentials, client_config); + rds_client = std::make_shared(client_config); } static void TearDownTestSuite() { diff --git a/integration/failover_performance_test.cc b/integration/failover_performance_test.cc index 1b34dc076..d6ec5b9e4 100644 --- a/integration/failover_performance_test.cc +++ b/integration/failover_performance_test.cc @@ -153,7 +153,7 @@ class FailoverPerformanceTest : static void SetUpTestSuite() { Aws::InitAPI(options); - rds_client = std::make_shared(credentials, client_config); + rds_client = std::make_shared(client_config); } static void TearDownTestSuite() { diff --git a/integration/network_failover_integration_test.cc b/integration/network_failover_integration_test.cc index fc1e3b9e8..c728ec056 100644 --- a/integration/network_failover_integration_test.cc +++ b/integration/network_failover_integration_test.cc @@ -36,7 +36,7 @@ class NetworkFailoverIntegrationTest : public BaseFailoverIntegrationTest { static void SetUpTestSuite() { Aws::InitAPI(options); - rds_client = std::make_shared(credentials, client_config); + rds_client = std::make_shared(client_config); } static void TearDownTestSuite() {