use of com.amazonaws.auth.WebIdentityTokenCredentialsProvider in project flink by apache.
the class AWSUtilTest method testGetCredentialsProvider.
@Test
public void testGetCredentialsProvider() {
Properties testConfig = new Properties();
testConfig.setProperty(AWS_CREDENTIALS_PROVIDER, "WEB_IDENTITY_TOKEN");
AWSCredentialsProvider credentialsProvider = AWSUtil.getCredentialsProvider(testConfig);
assertTrue(credentialsProvider instanceof WebIdentityTokenCredentialsProvider);
}
Aggregations