File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/aws-cpp-sdk-core-tests/aws/auth Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,17 @@ using namespace Aws::Http;
2222
2323static const char ALLOCATION_TAG[] = " CredentialTrackingTest" ;
2424
25- // Custom client that uses default credential provider chain for testing
25+ // Custom client that uses environment credential provider for testing
2626class CredentialTestingClient : public Aws ::Client::AWSClient
2727{
2828public:
2929 explicit CredentialTestingClient (const Aws::Client::ClientConfiguration& configuration)
3030 : AWSClient(configuration,
3131 Aws::MakeShared<Aws::Client::AWSAuthV4Signer>(ALLOCATION_TAG,
32- Aws::MakeShared<DefaultAWSCredentialsProviderChain >(ALLOCATION_TAG),
32+ Aws::MakeShared<EnvironmentAWSCredentialsProvider >(ALLOCATION_TAG),
3333 "service", configuration.region),
3434 Aws::MakeShared<MockAWSErrorMarshaller>(ALLOCATION_TAG))
3535 {
36- // Client created with DefaultAWSCredentialsProviderChain
3736 }
3837
3938 Aws::Client::HttpResponseOutcome MakeRequest (const Aws::AmazonWebServiceRequest& request)
You can’t perform that action at this time.
0 commit comments