eamag
09/27/2019, 1:04 PMClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
when I try to download a file from private bucket, I have creds in environment as usual. I can download it manually via import boto3
s3 = boto3.resource("s3")
s3.Bucket(bucket_name).download_file
thougheamag
09/27/2019, 1:05 PMeamag
09/27/2019, 1:28 PM@resource
def mys3(_):
return boto3.resource("s3")
everything is finealex
09/27/2019, 3:01 PMeamag
09/27/2019, 3:14 PMalex
09/27/2019, 4:10 PMmax
09/27/2019, 4:12 PMmax
09/27/2019, 4:14 PMmax
09/27/2019, 4:14 PMdagster_aws.s3.s3_resource
, you should be good if you set the config value use_unsigned_session: false