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