mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
s3: add Qiniu KODO to s3 provider list - fixes #6195
This commit is contained in:
@@ -152,6 +152,7 @@ WebDAV or S3, that work out of the box.)
|
||||
{{< provider name="premiumize.me" home="https://premiumize.me/" config="/premiumizeme/" >}}
|
||||
{{< provider name="put.io" home="https://put.io/" config="/putio/" >}}
|
||||
{{< provider name="QingStor" home="https://www.qingcloud.com/products/storage" config="/qingstor/" >}}
|
||||
{{< provider name="Qiniu Cloud Object Storage (Kodo)" home="https://www.qiniu.com/en/products/kodo" config="/s3/#qiniu" >}}
|
||||
{{< provider name="Rackspace Cloud Files" home="https://www.rackspace.com/cloud/files" config="/swift/" >}}
|
||||
{{< provider name="rsync.net" home="https://rsync.net/products/rclone.html" config="/sftp/#rsync-net" >}}
|
||||
{{< provider name="Scaleway" home="https://www.scaleway.com/object-storage/" config="/s3/#scaleway" >}}
|
||||
|
||||
@@ -21,6 +21,7 @@ The S3 backend can be used with a number of different providers:
|
||||
{{< provider name="IDrive e2" home="https://www.idrive.com/e2/" config="/s3/#idrive-e2" >}}
|
||||
{{< provider name="IONOS Cloud" home="https://cloud.ionos.com/storage/object-storage" config="/s3/#ionos" >}}
|
||||
{{< provider name="Minio" home="https://www.minio.io/" config="/s3/#minio" >}}
|
||||
{{< provider name="Qiniu Cloud Object Storage (Kodo)" home="https://www.qiniu.com/en/products/kodo" config="/s3/#qiniu" >}}
|
||||
{{< provider name="RackCorp Object Storage" home="https://www.rackcorp.com/" config="/s3/#RackCorp" >}}
|
||||
{{< provider name="Scaleway" home="https://www.scaleway.com/en/object-storage/" config="/s3/#scaleway" >}}
|
||||
{{< provider name="Seagate Lyve Cloud" home="https://www.seagate.com/gb/en/services/cloud/storage/" config="/s3/#lyve" >}}
|
||||
@@ -3764,6 +3765,207 @@ So once set up, for example, to copy files into a bucket
|
||||
rclone copy /path/to/files minio:bucket
|
||||
```
|
||||
|
||||
### Qiniu Cloud Object Storage (Kodo) {#qiniu}
|
||||
|
||||
[Qiniu Cloud Object Storage (Kodo)](https://www.qiniu.com/en/products/kodo), a completely independent-researched core technology which is proven by repeated customer experience has occupied absolute leading market leader position. Kodo can be widely applied to mass data management.
|
||||
|
||||
To configure access to Qiniu Kodo, follow the steps below:
|
||||
|
||||
1. Run `rclone config` and select `n` for a new remote.
|
||||
|
||||
```
|
||||
rclone config
|
||||
No remotes found, make a new one?
|
||||
n) New remote
|
||||
s) Set configuration password
|
||||
q) Quit config
|
||||
n/s/q> n
|
||||
```
|
||||
|
||||
2. Give the name of the configuration. For example, name it 'qiniu'.
|
||||
|
||||
```
|
||||
name> qiniu
|
||||
```
|
||||
|
||||
3. Select `s3` storage.
|
||||
|
||||
```
|
||||
Choose a number from below, or type in your own value
|
||||
1 / 1Fichier
|
||||
\ (fichier)
|
||||
2 / Akamai NetStorage
|
||||
\ (netstorage)
|
||||
3 / Alias for an existing remote
|
||||
\ (alias)
|
||||
4 / Amazon Drive
|
||||
\ (amazon cloud drive)
|
||||
5 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, China Mobile, Cloudflare, ArvanCloud, Digital Ocean, Dreamhost, Huawei OBS, IBM COS, IDrive e2, Lyve Cloud, Minio, Netease, RackCorp, Scaleway, SeaweedFS, StackPath, Storj, Tencent COS, Qiniu and Wasabi
|
||||
\ (s3)
|
||||
[snip]
|
||||
Storage> s3
|
||||
```
|
||||
|
||||
4. Select `Qiniu` provider.
|
||||
```
|
||||
Choose a number from below, or type in your own value
|
||||
1 / Amazon Web Services (AWS) S3
|
||||
\ "AWS"
|
||||
[snip]
|
||||
22 / Qiniu Object Storage (Kodo)
|
||||
\ (Qiniu)
|
||||
[snip]
|
||||
provider> Qiniu
|
||||
```
|
||||
|
||||
5. Enter your SecretId and SecretKey of Qiniu Kodo.
|
||||
|
||||
```
|
||||
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
|
||||
Only applies if access_key_id and secret_access_key is blank.
|
||||
Enter a boolean value (true or false). Press Enter for the default ("false").
|
||||
Choose a number from below, or type in your own value
|
||||
1 / Enter AWS credentials in the next step
|
||||
\ "false"
|
||||
2 / Get AWS credentials from the environment (env vars or IAM)
|
||||
\ "true"
|
||||
env_auth> 1
|
||||
AWS Access Key ID.
|
||||
Leave blank for anonymous access or runtime credentials.
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
access_key_id> AKIDxxxxxxxxxx
|
||||
AWS Secret Access Key (password)
|
||||
Leave blank for anonymous access or runtime credentials.
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
secret_access_key> xxxxxxxxxxx
|
||||
```
|
||||
|
||||
6. Select endpoint for Qiniu Kodo. This is the standard endpoint for different region.
|
||||
|
||||
```
|
||||
/ The default endpoint - a good choice if you are unsure.
|
||||
1 | East China Region 1.
|
||||
| Needs location constraint cn-east-1.
|
||||
\ (cn-east-1)
|
||||
/ East China Region 2.
|
||||
2 | Needs location constraint cn-east-2.
|
||||
\ (cn-east-2)
|
||||
/ North China Region 1.
|
||||
3 | Needs location constraint cn-north-1.
|
||||
\ (cn-north-1)
|
||||
/ South China Region 1.
|
||||
4 | Needs location constraint cn-south-1.
|
||||
\ (cn-south-1)
|
||||
/ North America Region.
|
||||
5 | Needs location constraint us-north-1.
|
||||
\ (us-north-1)
|
||||
/ Southeast Asia Region 1.
|
||||
6 | Needs location constraint ap-southeast-1.
|
||||
\ (ap-southeast-1)
|
||||
/ Northeast Asia Region 1.
|
||||
7 | Needs location constraint ap-northeast-1.
|
||||
\ (ap-northeast-1)
|
||||
[snip]
|
||||
endpoint> 1
|
||||
|
||||
Option endpoint.
|
||||
Endpoint for Qiniu Object Storage.
|
||||
Choose a number from below, or type in your own value.
|
||||
Press Enter to leave empty.
|
||||
1 / East China Endpoint 1
|
||||
\ (s3-cn-east-1.qiniucs.com)
|
||||
2 / East China Endpoint 2
|
||||
\ (s3-cn-east-2.qiniucs.com)
|
||||
3 / North China Endpoint 1
|
||||
\ (s3-cn-north-1.qiniucs.com)
|
||||
4 / South China Endpoint 1
|
||||
\ (s3-cn-south-1.qiniucs.com)
|
||||
5 / North America Endpoint 1
|
||||
\ (s3-us-north-1.qiniucs.com)
|
||||
6 / Southeast Asia Endpoint 1
|
||||
\ (s3-ap-southeast-1.qiniucs.com)
|
||||
7 / Northeast Asia Endpoint 1
|
||||
\ (s3-ap-northeast-1.qiniucs.com)
|
||||
endpoint> 1
|
||||
|
||||
Option location_constraint.
|
||||
Location constraint - must be set to match the Region.
|
||||
Used when creating buckets only.
|
||||
Choose a number from below, or type in your own value.
|
||||
Press Enter to leave empty.
|
||||
1 / East China Region 1
|
||||
\ (cn-east-1)
|
||||
2 / East China Region 2
|
||||
\ (cn-east-2)
|
||||
3 / North China Region 1
|
||||
\ (cn-north-1)
|
||||
4 / South China Region 1
|
||||
\ (cn-south-1)
|
||||
5 / North America Region 1
|
||||
\ (us-north-1)
|
||||
6 / Southeast Asia Region 1
|
||||
\ (ap-southeast-1)
|
||||
7 / Northeast Asia Region 1
|
||||
\ (ap-northeast-1)
|
||||
location_constraint> 1
|
||||
```
|
||||
|
||||
7. Choose acl and storage class.
|
||||
|
||||
```
|
||||
Note that this ACL is applied when server-side copying objects as S3
|
||||
doesn't copy the ACL from the source but rather writes a fresh one.
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
Choose a number from below, or type in your own value
|
||||
/ Owner gets FULL_CONTROL.
|
||||
1 | No one else has access rights (default).
|
||||
\ (private)
|
||||
/ Owner gets FULL_CONTROL.
|
||||
2 | The AllUsers group gets READ access.
|
||||
\ (public-read)
|
||||
[snip]
|
||||
acl> 2
|
||||
The storage class to use when storing new objects in Tencent COS.
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
Choose a number from below, or type in your own value
|
||||
1 / Standard storage class
|
||||
\ (STANDARD)
|
||||
2 / Infrequent access storage mode
|
||||
\ (LINE)
|
||||
3 / Archive storage mode
|
||||
\ (GLACIER)
|
||||
4 / Deep archive storage mode
|
||||
\ (DEEP_ARCHIVE)
|
||||
[snip]
|
||||
storage_class> 1
|
||||
Edit advanced config? (y/n)
|
||||
y) Yes
|
||||
n) No (default)
|
||||
y/n> n
|
||||
Remote config
|
||||
--------------------
|
||||
[qiniu]
|
||||
- type: s3
|
||||
- provider: Qiniu
|
||||
- access_key_id: xxx
|
||||
- secret_access_key: xxx
|
||||
- region: cn-east-1
|
||||
- endpoint: s3-cn-east-1.qiniucs.com
|
||||
- location_constraint: cn-east-1
|
||||
- acl: public-read
|
||||
- storage_class: STANDARD
|
||||
--------------------
|
||||
y) Yes this is OK (default)
|
||||
e) Edit this remote
|
||||
d) Delete this remote
|
||||
y/e/d> y
|
||||
Current remotes:
|
||||
|
||||
Name Type
|
||||
==== ====
|
||||
qiniu s3
|
||||
```
|
||||
|
||||
### RackCorp {#RackCorp}
|
||||
|
||||
[RackCorp Object Storage](https://www.rackcorp.com/storage/s3storage) is an S3 compatible object storage platform from your friendly cloud provider RackCorp.
|
||||
|
||||
Reference in New Issue
Block a user