Created
March 25, 2015 11:45
-
-
Save maracuja/12560efc07c5e75e3af3 to your computer and use it in GitHub Desktop.
List Buckets for Singapore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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