Security Token Service (STS) SDKs support the following programming languages: Java, .NET, Python, PHP, Node.js, Go, C++, and Swift.
STS SDKs for different programming languages
STS SDKs are provided in the earlier version and the latest version. We recommend that you use STS SDKs of the latest version. For more information about the differences between the two versions, see Differences between SDKs of the earlier version and SDKs of the latest version.
|Programming language||Download URL of an SDK of the latest version||Download URL of an SDK of the earlier version||SDK sample code||SDK user guide|
||Synchronous invocations only: SDK for Java (V1)||SDK user guide|
|.NET||Synchronous and asynchronous invocations: SDK for .NET (V2)||Synchronous invocations only: SDK for .NET (V1)|
||Synchronous invocations only: SDK for Python (V1)|
|PHP||SDK for PHP (V2)||SDK for PHP (V1)|
|Node.js||SDK for Node.js/TypeScript (V2)||SDK for Node.js (V1)|
|Go||SDK for Go (V2)||SDK for Go (V1)|
|C++||SDK for C++ (V2)||SDK for C++ (V1)|
|Swift||SDK for Swift (V5.6)||None|
- Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to debug API operations and dynamically generate SDK sample code.
- For more information about how to obtain an AccessKey pair, see Create an AccessKey pair.
- For more information about STS endpoints, see Service endpoints.
- For more information about STS API operations, see List of operations by function.