From fb4d4d413664175707073bb529ea1e4cbe91ef55 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Wed, 13 Aug 2014 18:22:55 -0700 Subject: [PATCH] Updated Home (markdown) --- Home.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/Home.md b/Home.md index d19e922..111e638 100644 --- a/Home.md +++ b/Home.md @@ -1 +1,34 @@ -Welcome to the s3proxy wiki! +# S3Proxy compatibility list + +This page lists applications known to have compatibility with S3Proxy and any configuration needed to use them. Usually one must use the generic S3 mode, disable bucket-in-hostname, and use AWS signature v2. + +## [AWS Java SDK](http://aws.amazon.com/sdk-for-java/) + +```java +AmazonS3Client client = new AmazonS3Client( + new BasicAWSCredentials("identity", "credential"), config); +client.setEndpoint("http://127.0.0.1:8080"); +client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true)); +``` + +## [boto](https://github.com/boto/boto) + +```python +boto.connect_s3(aws_access_key_id = 'identity', + aws_secret_access_key = 'credential', + host = '127.0.0.1', port = 8080, is_secure = False, + calling_format = boto.s3.connection.OrdinaryCallingFormat()) +``` +## [jclouds-cli](https://github.com/jclouds/jclouds-cli) + +``` +jclouds blobstore container-list --api s3 --endpoint http://127.0.0.1:8080 --identity identity --credential credential +``` + +## [s3fs-fuse](https://github.com/s3fs-fuse/s3fs-fuse) + +``` +echo identity:credential > passwd +chmod 600 passwd +s3fs bucketname dirname -o url=http://127.0.0.1:8080 -o use_path_request_style -o passwd_file=passwd +``` \ No newline at end of file