You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ryan Haarmann (Jira)" <ji...@apache.org> on 2021/05/10 16:17:00 UTC

[jira] [Created] (ARROW-12719) pyarrow.fs.S3FileSystem pass extra kwargs i.e ACL

Ryan Haarmann created ARROW-12719:
-------------------------------------

             Summary: pyarrow.fs.S3FileSystem pass extra kwargs i.e ACL
                 Key: ARROW-12719
                 URL: https://issues.apache.org/jira/browse/ARROW-12719
             Project: Apache Arrow
          Issue Type: New Feature
            Reporter: Ryan Haarmann


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`:
{code:python}
s3fs.S3FileSystem(
 s3_additional_kwargs={'ACL': 'bucket-owner-full-control'}
){code}
or with `boto`:
{code:python}
extra_args.update(\{"ACL": "bucket-owner-full-control"})
boto3.s3.transfer.S3Transfer(...).upload_file(extra_args=extra_args)
{code}
or
{code:python}
s3.Object(my_bucket_name, my_key_path).put(Body=my_body, ACL='bucket-owner-full-control')
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)