Skip to content

Instantly share code, notes, and snippets.

@maracuja
Created March 25, 2015 11:45
Show Gist options
  • Save maracuja/12560efc07c5e75e3af3 to your computer and use it in GitHub Desktop.
Save maracuja/12560efc07c5e75e3af3 to your computer and use it in GitHub Desktop.
List Buckets for Singapore
import boto.s3
aws_access_key_id=''
aws_secret_access_key=''
conn = boto.s3.connect_to_region("ap-southeast-1", aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key)
conn.get_all_buckets()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment