Problem description
OSS returns a 403 error when you call an API operation signed with a V1 signature.
Causes
OSS no longer supports V1 signatures. For details, see Notice on the Discontinuation of the OSS V1 Signature Algorithm.
Examples
A V1 signature passes OSSAccessKeyId, Expires, and Signature as query parameters in the URL. The following example shows a PutBucketAcl request signed with V1:
PUT /?acl
&OSSAccessKeyId=nz2p**** # AccessKey ID passed as a query parameter
&Expires=abc # Request expiration timestamp
&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv**** # V1 signature value
HTTP/1.1
x-oss-acl: Permission
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT DateSolutions
Upgrade to V4 signatures. See Upgrade from V1 to V4 signatures for migration instructions.
该文章对您有帮助吗?