Official Tencent Cloud SDK for accessing the Security Token Service (STS), used to obtain temporary credentials for accessing Tencent Cloud resources. The current version is 3.0.1459 and is updated regularly with new features and fixes.
pip install tencentcloud-sdk-python-stsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage to get a temporary federation token. Set credentials via environment variables.
Use from tencentcloud.sts.v20180813 import sts_client instead of from tencentcloud.sts import sts_client.
Always use v20180813 in import paths.
Always set required fields to valid strings/values before calling the API.
Install tencentcloud-sdk-python-common and use correct import: from tencentcloud.sts.v20180813 import sts_client
Ensure all required fields are set in the request model before passing to client.