Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amatthies/280621dac95c6222ba3a to your computer and use it in GitHub Desktop.
Save amatthies/280621dac95c6222ba3a to your computer and use it in GitHub Desktop.
Access a public s3 resource (anonymously) using boto3 https://github.com/boto/boto3/issues/134#issuecomment-116766812
import boto3
from botocore.handlers import disable_signing
resource = boto3.resource('s3')
resource.meta.client.meta.events.register(
'choose-signer.s3.*', disable_signing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment