Search in sources :

Example 1 with DefaultCredentialsProvider

use of software.amazon.awssdk.core.auth.DefaultCredentialsProvider in project iep by Netflix.

the class AwsClientFactoryTest method createCredentialsProvider.

@Test
public void createCredentialsProvider() {
    AwsClientFactory factory = new AwsClientFactory(config);
    AwsCredentialsProvider creds = factory.createCredentialsProvider(null);
    Assert.assertTrue(creds instanceof DefaultCredentialsProvider);
}
Also used : AwsCredentialsProvider(software.amazon.awssdk.core.auth.AwsCredentialsProvider) DefaultCredentialsProvider(software.amazon.awssdk.core.auth.DefaultCredentialsProvider) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 AwsCredentialsProvider (software.amazon.awssdk.core.auth.AwsCredentialsProvider)1 DefaultCredentialsProvider (software.amazon.awssdk.core.auth.DefaultCredentialsProvider)1