0002-00000002

Updated at:

Problem description

Temporary access credentials obtained from Security Token Service (STS) are used in the request for authentication. However, the AccessKey ID specified in the request does not exist.

Causes

  • Temporary access credentials obtained from STS are used in the request for authentication. However, the AccessKey ID specified in the request is invalid.

  • The AccessKey ID of a RAM user is used in the request for authentication. However, the SecurityToken parameter is specified in the request. Therefore, OSS authenticates the request based on STS credentials and finds that the AccessKey ID is inconsistent with the AccessKey ID obtained from STS.

  • The AccessKey ID has expired.

Examples

  • Temporary access credentials obtained from STS are used in the request for authentication. However, the AccessKey ID specified in the request is the AccessKey ID of a RAM user instead of the AccessKey ID obtained from STS.

  • You want to authenticate the request as a RAM user, but include the security-token field in the signed URL or the x-oss-security-token field in the request headers. This causes OSS to authenticate the request based on credentials obtained from STS.

  • You use the AccessKey ID obtained from STS to initiate a request, but the AccessKey ID has expired.

Solutions