Maybe someone else is also interested in a quick solution.
$ pip install boto
Then this small program:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
S3_HOST = 'S3 host'
S3_ACCESS_KEY = 'your key'
S3_SECRET_KEY = 'your secret'
S3_NEW_BUCKET = 'bucket name'
from boto.s3.connection import S3Connection
# Connect to host
conn = S3Connection(S3_ACCESS_KEY, S3_SECRET_KEY, host = S3_HOST)
# Create the new bucket
conn.create_bucket(S3_NEW_BUCKET)
# Test existence
all_buckets = conn.get_all_buckets()
for bucket in all_buckets:
print('%s\n' % bucket)
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.