Help Center/ Video On Demand/ FAQs/ APIs and SDKs/ How Do I Set the Validity Period of the AK/SK and Security Token?
Updated on 2022-10-24 GMT+08:00

How Do I Set the Validity Period of the AK/SK and Security Token?

The validity period of the temporary AK/SK and security token ranges from 15 minutes to 24 hours. After the validity period expires, you need to obtain new temporary AK/SK and security token. You can configure duration_seconds to set the validity period. For details, see the API for Obtaining a Temporary Access Key and SecurityToken Through a Token.