<BUG>new S3ABasicAWSCredentialsProvider(accessKey, secretKey),new InstanceProfileCredentialsProvider(),new S3AAnonymousAWSCredentialsProvider());</BUG><CONTEXT>} else {accessKey = userInfo;}}AWSCredentialsProviderChain credentials = new AWSCredentialsProviderChain(<extra_id_0>bucket = name.getHost();</CONTEXT>
new BasicAWSCredentialsProvider(accessKey, secretKey),new AnonymousAWSCredentialsProvider()