use of software.amazon.awssdk.auth.credentials.WebIdentityTokenFileCredentialsProvider in project flink by apache.
the class AWSGeneralUtilTest method testGetCredentialsProviderWebIdentityTokenFileCredentialsProvider.
@Test
public void testGetCredentialsProviderWebIdentityTokenFileCredentialsProvider() {
Properties properties = TestUtil.properties(AWS_CREDENTIALS_PROVIDER, "WEB_IDENTITY_TOKEN");
AwsCredentialsProvider credentialsProvider = AWSGeneralUtil.getCredentialsProvider(properties);
assertTrue(credentialsProvider instanceof WebIdentityTokenFileCredentialsProvider);
}
Aggregations