code: protected static AmazonS3 getS3Client(URI stashRoot, AWSCredentialsProvider credentialsProvider) {
          return getS3Client(stashRoot, credentialsProvider, null);
      }
docs: Utility method to get the S3 client for a credentials provider.