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