软层对象 Storage/Swift 禁止复制
Softlayer Object Storage/Swift Copy Forbidden
我正在尝试使用 Swift Copy API 将一些对象从一个帐户复制到另一个帐户。但是,我收到 403 Forbidden 响应。
Objects can also be copied from one account to another account if the user has the necessary permissions (i.e. permission to read from container
in source account and permission to write to container in destination account).
我认为 403 响应的原因是因为 Authenticating to the Object Storage 时生成的 X-Auth-Token
绑定到特定帐户,格式为
X-Auth-User
是 <ACCOUNT>:<USERID>
是否可以从 Softlayer 上的多个帐户生成具有 read/write 权限的 X-Auth-Token
?
谢谢!
简短的回答是否定的,权限仅适用于 softlayer 上的所有者帐户和该帐户的用户。如果您想复制数据,您需要制作自己的代码,从一个帐户下载文件,然后将其上传到另一个帐户。
此致
我正在尝试使用 Swift Copy API 将一些对象从一个帐户复制到另一个帐户。但是,我收到 403 Forbidden 响应。
Objects can also be copied from one account to another account if the user has the necessary permissions (i.e. permission to read from container in source account and permission to write to container in destination account).
我认为 403 响应的原因是因为 Authenticating to the Object Storage 时生成的 X-Auth-Token
绑定到特定帐户,格式为
X-Auth-User
是 <ACCOUNT>:<USERID>
是否可以从 Softlayer 上的多个帐户生成具有 read/write 权限的 X-Auth-Token
?
谢谢!
简短的回答是否定的,权限仅适用于 softlayer 上的所有者帐户和该帐户的用户。如果您想复制数据,您需要制作自己的代码,从一个帐户下载文件,然后将其上传到另一个帐户。
此致