Skip to content

Instantly share code, notes, and snippets.

@skopp
Forked from jubos/gist:2409369
Last active December 15, 2015 09:28
Show Gist options
  • Save skopp/5238217 to your computer and use it in GitHub Desktop.
Save skopp/5238217 to your computer and use it in GitHub Desktop.
ref: jubos/fake-s3
[default]
access_key = asf
bucket_location = US
cloudfront_host = cloudfront.amazonaws.com
cloudfront_resource = /2010-07-15/distribution
default_mime_type = binary/octet-stream
delete_removed = False
dry_run = False
encoding = UTF-8
encrypt = False
follow_symlinks = False
force = False
get_continue = False
gpg_command = None
gpg_decrypt = %(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_fil
e)s
gpg_encrypt = %(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_fil
e)s
gpg_passphrase = asdfasdf
guess_mime_type = True
host_base = local.getspool.com:4567
host_bucket = %(bucket)s.local.getspool.com:4567
human_readable_sizes = False
list_md5 = False
log_target_prefix =
preserve_attrs = True
progress_meter = True
proxy_host =
proxy_port = 0
recursive = False
recv_chunk = 4096
reduced_redundancy = False
secret_key = dfsj
send_chunk = 4096
simpledb_host = sdb.amazonaws.com
skip_existing = False
urlencoding_mode = normal
use_https = False
verbosity = WARNING
Command Line Tools (FAKE S3)
s3cmd
For S3 cmd you need to setup your dns to contain subdomain buckets since it doesn't do path style S3 requests. You can use a config like this to make it work. Gist
Then just run s3cmd -c myconfig mb s3://my_bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment