diff --git a/lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystem.java b/lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystem.java index e4695dc566d2..236d05765bbc 100644 --- a/lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystem.java +++ b/lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystem.java @@ -239,6 +239,7 @@ private FileIterator listObjects(Location location, boolean includeDirectoryObje ListObjectsV2Request request = ListObjectsV2Request.builder() .overrideConfiguration(context::applyCredentialProviderOverride) + .requestPayer(requestPayer) .bucket(s3Location.bucket()) .prefix(key) .build();