-
Notifications
You must be signed in to change notification settings - Fork 233
Home
Timur Alperovich edited this page Aug 14, 2014
·
9 revisions
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.
AmazonS3Client client = new AmazonS3Client(
new BasicAWSCredentials("identity", "credential"), config);
client.setEndpoint("http://127.0.0.1:8080");
client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
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())
fog = Fog::Storage.new(provider: 'aws', endpoint: 'http://127.0.0.1:8080', path_style: true)
jclouds blobstore container-list --api s3 --endpoint http://127.0.0.1:8080 --identity identity --credential credential
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