kopia lustrzana https://github.com/gaul/s3proxy
whitespace
rodzic
608a5bde7f
commit
028b5f69cf
|
@ -3,7 +3,8 @@ This page lists applications known to have compatibility with S3Proxy and any co
|
||||||
* [AWS Java SDK](http://aws.amazon.com/sdk-for-java/)
|
* [AWS Java SDK](http://aws.amazon.com/sdk-for-java/)
|
||||||
|
|
||||||
```java
|
```java
|
||||||
AmazonS3Client client = new AmazonS3Client(new BasicAWSCredentials("identity", "credential"), config);
|
AmazonS3Client client = new AmazonS3Client(
|
||||||
|
new BasicAWSCredentials("identity", "credential"), config);
|
||||||
client.setEndpoint("http://127.0.0.1:8080");
|
client.setEndpoint("http://127.0.0.1:8080");
|
||||||
client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
|
client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
|
||||||
```
|
```
|
||||||
|
@ -11,7 +12,9 @@ client.setS3ClientOptions(new S3ClientOptions().withPathStyleAccess(true));
|
||||||
* [boto](https://github.com/boto/boto)
|
* [boto](https://github.com/boto/boto)
|
||||||
|
|
||||||
```python
|
```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())
|
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-cli](https://github.com/jclouds/jclouds-cli)
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue