Skip to content

Commit 6ed04ec

Browse files
Merge pull request #9 from kerthcet/feat/add-oss-s3
Update Readme.md
2 parents 8037863 + b43bd5c commit 6ed04ec

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,26 @@ client.delete(filename)
3737

3838
## Supported Providers
3939

40-
- OSS: [Alibaba Cloud OSS](https://www.alibabacloud.com/help/en/oss/)
40+
### [Alibaba Cloud OSS](https://www.alibabacloud.com/help/en/oss/)
41+
42+
Usage:
43+
44+
```python
45+
client = StoreFactory.new_client(
46+
provider="OSS", endpoint=<endpoint>, bucket=<bucket>
47+
)
48+
```
49+
50+
Required environment variables:
51+
52+
```yaml
53+
OSS_ACCESS_KEY_ID=
54+
OSS_ACCESS_KEY_SECRET=
55+
```
56+
57+
## Development
58+
59+
Once you want to run the integration tests, you should have a `.env` file locally, similar to the `.env.example`.
4160

4261
## Contributions
4362

0 commit comments

Comments
 (0)