S3/COS:使用 IBM Cloud 配置的 rclone 身份验证失败

S3 / COS: rclone authentication using config for IBM Cloud fails

我正在尝试使用 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 凭证一起生成。