Option env_auth. 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. Choose a number from below, or typein your own boolean value (true or false). Press Enter for the default (false). 1 / Enter AWS credentials in the next step. \ (false) 2 / Get AWS credentials from the environment (env vars or IAM). \ (true) env_auth> 1
Option access_key_id. AWS Access Key ID. Leave blank for anonymous access or runtime credentials. Enter a value. Press Enter to leave empty. access_key_id> xxxxxxx
Option secret_access_key. AWS Secret Access Key (password). Leave blank for anonymous access or runtime credentials. Enter a value. Press Enter to leave empty. secret_access_key> xxxxxxx
Option endpoint. Endpoint for OSS API. Choose a number from below, or typein your own value. Press Enter to leave empty. 1 / Global Accelerate \ (oss-accelerate.aliyuncs.com) 2 / Global Accelerate (outside mainland China) \ (oss-accelerate-overseas.aliyuncs.com) 3 / East China 1 (Hangzhou) \ (oss-cn-hangzhou.aliyuncs.com) 4 / East China 2 (Shanghai) \ (oss-cn-shanghai.aliyuncs.com) 5 / North China 1 (Qingdao) \ (oss-cn-qingdao.aliyuncs.com) 6 / North China 2 (Beijing) \ (oss-cn-beijing.aliyuncs.com) 7 / North China 3 (Zhangjiakou) \ (oss-cn-zhangjiakou.aliyuncs.com) 8 / North China 5 (Hohhot) \ (oss-cn-huhehaote.aliyuncs.com) 9 / North China 6 (Ulanqab) \ (oss-cn-wulanchabu.aliyuncs.com) 10 / South China 1 (Shenzhen) \ (oss-cn-shenzhen.aliyuncs.com) 11 / South China 2 (Heyuan) \ (oss-cn-heyuan.aliyuncs.com) 12 / South China 3 (Guangzhou) \ (oss-cn-guangzhou.aliyuncs.com) 13 / West China 1 (Chengdu) \ (oss-cn-chengdu.aliyuncs.com) 14 / Hong Kong (Hong Kong) \ (oss-cn-hongkong.aliyuncs.com) 15 / US West 1 (Silicon Valley) \ (oss-us-west-1.aliyuncs.com) 16 / US East 1 (Virginia) \ (oss-us-east-1.aliyuncs.com) 17 / Southeast Asia Southeast 1 (Singapore) \ (oss-ap-southeast-1.aliyuncs.com) 18 / Asia Pacific Southeast 2 (Sydney) \ (oss-ap-southeast-2.aliyuncs.com) 19 / Southeast Asia Southeast 3 (Kuala Lumpur) \ (oss-ap-southeast-3.aliyuncs.com) 20 / Asia Pacific Southeast 5 (Jakarta) \ (oss-ap-southeast-5.aliyuncs.com) 21 / Asia Pacific Northeast 1 (Japan) \ (oss-ap-northeast-1.aliyuncs.com) 22 / Asia Pacific South 1 (Mumbai) \ (oss-ap-south-1.aliyuncs.com) 23 / Central Europe 1 (Frankfurt) \ (oss-eu-central-1.aliyuncs.com) 24 / West Europe (London) \ (oss-eu-west-1.aliyuncs.com) 25 / Middle East 1 (Dubai) \ (oss-me-east-1.aliyuncs.com) endpoint> 13
Option acl. Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too. For more info visit https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl 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. If the acl is an empty string then no X-Amz-Acl: header is added and the default (private) will be used. Choose a number from below, or typein your own value. Press Enter to leave empty. / 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) / Owner gets FULL_CONTROL. 3 | The AllUsers group gets READ and WRITE access. | Granting this on a bucket is generally not recommended. \ (public-read-write) / Owner gets FULL_CONTROL. 4 | The AuthenticatedUsers group gets READ access. \ (authenticated-read) / Object owner gets FULL_CONTROL. 5 | Bucket owner gets READ access. | If you specify this canned ACL when creating a bucket, Amazon S3 ignores it. \ (bucket-owner-read) / Both the object owner and the bucket owner get FULL_CONTROL over the object. 6 | If you specify this canned ACL when creating a bucket, Amazon S3 ignores it. \ (bucket-owner-full-control) acl> 1
Option storage_class. The storage class to use when storing new objects in OSS. Choose a number from below, or typein your own value. Press Enter to leave empty. 1 / Default \ () 2 / Standard storage class \ (STANDARD) 3 / Archive storage mode \ (GLACIER) 4 / Infrequent access storage mode \ (STANDARD_IA) storage_class> 2
Edit advanced config? y) Yes n) No (default) y/n> n
Configuration complete. Options: - type: s3 - provider: Alibaba - access_key_id: xxxx - secret_access_key: xxxx - endpoint: oss-cn-chengdu.aliyuncs.com - acl: private - storage_class: STANDARD Keep this "oss" remote? y) Yes this is OK (default) e) Edit this remote d) Delete this remote y/e/d> y
Current remotes:
Name Type ==== ==== oss s3
e) Edit existing remote n) New remote d) Delete remote r) Rename remote c) Copy remote s) Set configuration password q) Quit config e/n/d/r/c/s/q> q
Option env_auth. 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. Choose a number from below, or typein your own boolean value (true or false). Press Enter for the default (false). 1 / Enter AWS credentials in the next step. \ (false) 2 / Get AWS credentials from the environment (env vars or IAM). \ (true) env_auth> 1
Option access_key_id. AWS Access Key ID. Leave blank for anonymous access or runtime credentials. Enter a value. Press Enter to leave empty. access_key_id> xxxx
Option secret_access_key. AWS Secret Access Key (password). Leave blank for anonymous access or runtime credentials. Enter a value. Press Enter to leave empty. secret_access_key> xxxx
Option region. Region to connect to. Leave blank if you are using an S3 clone and you don't have a region. Choose a number from below, or type in your own value. Press Enter to leave empty. / Use this if unsure. 1 | Will use v4 signatures and an empty region. \ () / Use this only if v4 signatures don't work. 2 | E.g. pre Jewel/v10 CEPH. \ (other-v2-signature) region> 1
Option endpoint. Endpoint for S3 API. Required when using an S3 clone. Enter a value. Press Enter to leave empty. endpoint> https://s3.bitiful.net
Option location_constraint. Location constraint - must be set to match the Region. Leave blank if not sure. Used when creating buckets only. Enter a value. Press Enter to leave empty. location_constraint>
Option acl. Canned ACL used when creating buckets and storing or copying objects. This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too. For more info visit https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl 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. If the acl is an empty string then no X-Amz-Acl: header is added and the default (private) will be used. Choose a number from below, or typein your own value. Press Enter to leave empty. / 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) / Owner gets FULL_CONTROL. 3 | The AllUsers group gets READ and WRITE access. | Granting this on a bucket is generally not recommended. \ (public-read-write) / Owner gets FULL_CONTROL. 4 | The AuthenticatedUsers group gets READ access. \ (authenticated-read) / Object owner gets FULL_CONTROL. 5 | Bucket owner gets READ access. | If you specify this canned ACL when creating a bucket, Amazon S3 ignores it. \ (bucket-owner-read) / Both the object owner and the bucket owner get FULL_CONTROL over the object. 6 | If you specify this canned ACL when creating a bucket, Amazon S3 ignores it. \ (bucket-owner-full-control) acl> 1
Edit advanced config? y) Yes n) No (default) y/n> n
Configuration complete. Options: - type: s3 - provider: Other - access_key_id: xxx - secret_access_key: xxx - endpoint: https://s3.bitiful.net - acl: private Keep this "s4" remote? y) Yes this is OK (default) e) Edit this remote d) Delete this remote y/e/d> y
Current remotes:
Name Type ==== ==== oss s3 s4 s3
e) Edit existing remote n) New remote d) Delete remote r) Rename remote c) Copy remote s) Set configuration password q) Quit config e/n/d/r/c/s/q> q
最终结果
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
❯ rclone config Current remotes:
Name Type ==== ==== oss s3 s4 s3
e) Edit existing remote n) New remote d) Delete remote r) Rename remote c) Copy remote s) Set configuration password q) Quit config e/n/d/r/c/s/q>