kopia lustrzana https://github.com/gaul/s3proxy
Updated Client compatibility list (markdown)
rodzic
5cc45ac551
commit
e2a0750094
|
@ -50,12 +50,13 @@ boto.connect_s3(aws_access_key_id = 'identity',
|
|||
```python
|
||||
session = boto3.session.Session(aws_access_key_id='identity',
|
||||
aws_secret_access_key='credential')
|
||||
config = boto3.session.Config(s3={'addressing_style': 'path'})
|
||||
# low level S3 client
|
||||
client = session.client('s3', endpoint_url='http://localhost:8080',
|
||||
config=boto3.session.Config(s3={'addressing_style': 'path'}))
|
||||
config=config)
|
||||
# S3 resource object
|
||||
resource = session.resource('s3', endpoint_url='http://localhost:8080',
|
||||
config=boto3.session.Config(s3={'addressing_style': 'path'}))
|
||||
config=config)
|
||||
```
|
||||
|
||||
### [fog](https://github.com/fog/fog)
|
||||
|
|
Ładowanie…
Reference in New Issue