我正在尝试使用rclone实用程序从AWS S3转移到IBM COS。
它适用于AWS S3,但不确定为什么它在IBM COS中失败。使用服务凭据,API密钥作为访问密钥id,资源实例id作为秘密访问密钥。
Rclone Config :
[COS_SOURCE]
type = s3
location_constraint = us-standard
provider = IBMCOS
env_auth = false
access_key_id = xxx
secret_access_key = xxxx
endpoint = s3.us.cloud-object-storage.appdomain.cloud
尝试使用不同的用户密钥和服务ID时失败。运行rclone lsd COS_SOURCE:时出现的错误
2021/05/17 18:17:25 DEBUG : Using config file from "/Users/deepali.mittal/.config/rclone/rclone.conf"
2021/05/17 18:17:25 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "lsd" "COS_SOURCE:" "-vvvv"]
2021/05/17 18:17:25 DEBUG : Creating backend with remote "COS_SOURCE:"
2021/05/17 18:17:27 ERROR : : error listing: InvalidAccessKeyId: The AWS Access Key ID you provided does not exist in our records.
status code: 403, request id: 1425c482-b423-4cb9-a01d-f3566a385f3d, host id:
2021/05/17 18:17:27 DEBUG : 6 go routines active
2021/05/17 18:17:27 Failed to lsd with 2 errors: last error was: InvalidAccessKeyId: The AWS Access Key ID you provided does not exist in our records.
status code: 403, request id: 1425c482-b423-4cb9-a01d-f3566a385f3d, host id:
您必须使用HMAC凭据。您可以将它们与该服务的常规IBM Cloud IAM凭据一起生成。