Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12719

[C++][Python] pyarrow.fs.S3FileSystem pass extra kwargs i.e ACL

    XMLWordPrintableJSON

Details

    Description

      Is there a way to set specific ACL args to the new written files via the S3FileSystem? We have a situation where the writer/read role groups do not have access unless specified during the write process.

      Example of how we update with `s3fs`:

      s3fs.S3FileSystem(
       s3_additional_kwargs={'ACL': 'bucket-owner-full-control'}
      )

      or with `boto`:

      extra_args.update(\{"ACL": "bucket-owner-full-control"})
      boto3.s3.transfer.S3Transfer(...).upload_file(extra_args=extra_args)
      

      or

      s3.Object(my_bucket_name, my_key_path).put(Body=my_body, ACL='bucket-owner-full-control')
      

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              rhaarmann Ryan Haarmann
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h