0002-00000007

更新时间:
复制 MD 格式

Problem description

The Security Token Service (STS) temporary access credentials included in the request have expired.

Causes

STS issues temporary access credentials with a configurable validity period. When that period ends, any request signed with those credentials fails with this error.

Examples

Temporary access credentials with a validity period of one hour are obtained from STS. If those credentials are used in a request after the hour has passed, this error occurs.

Solutions

Get new temporary access credentials and retry the request. To get new credentials, call the AssumeRole API operation or use the STS SDKs for various programming languages. When you call AssumeRole, you must specify a validity period for the temporary access credentials. If the temporary access credentials expire, you must obtain new temporary access credentials.

For implementation details, see Use temporary credentials provided by STS to access OSS.