alibabacloud-sts20150401
Alibaba Cloud Sts (20150401) SDK Library for Python
What it is and what it does
This is an official Alibaba Cloud SDK that wraps the STS API, allowing Python developers to request temporary security credentials, assume roles, and manage access tokens programmatically. It sits on top of two core Alibaba Cloud libraries (alibabacloud-tea-openapi and darabonba-core) that handle the underlying HTTP transport and code generation framework.
The package is intended for applications that need to authenticate with Alibaba Cloud services using temporary credentials rather than long-lived access keys—a common pattern for delegating access, cross-account operations, or federated identity scenarios. It supports Python 3.7 through 3.12 and is actively maintained by Alibaba Cloud.
Use it for:
- Generate temporary security credentials for applications running on Alibaba Cloud compute services.
- Implement cross-account access by assuming roles in different Alibaba Cloud accounts.
- Delegate limited-scope credentials to third-party services or batch jobs without exposing permanent keys.
- Build federated identity workflows where external systems authenticate and receive short-lived tokens.
- Rotate credentials automatically in long-running applications by requesting fresh tokens periodically.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Alibaba Cloud's Security Token Service API for generating temporary security credentials and managing access control.
Yes, if you are building on Alibaba Cloud and need STS functionality. The package is actively maintained, has low install friction, carries a permissive license, and no known vulnerabilities. It is the official SDK for this API and integrates cleanly with the Alibaba Cloud ecosystem. Install only if you actually use Alibaba Cloud STS; it is not useful outside that context.
Install
alibabacloud-sts20150401 on PyPI
pip
pip install alibabacloud-sts20150401uv
uv add alibabacloud-sts20150401poetry
poetry add alibabacloud-sts20150401Installing alibabacloud-sts20150401
Before you install
Low friction install with only two runtime dependencies (alibabacloud-tea-openapi, darabonba-core). Actively maintained with recent commits and no archived status.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install alibabacloud_sts20150401
from alibabacloud_sts20150401 import client
# Initialize and call STS operations via the client module
Requires Python >= 3.7; credentials and endpoint configuration needed for actual STS API calls.
Verify before relying
- Specific STS operations supported (AssumeRole, GetCallerIdentity, etc.) not detailed in excerpt.
- Whether package handles credential refresh or session management automatically.
- Integration patterns with other Alibaba Cloud SDKs beyond the two listed runtime dependencies.
- The API version date (20150401) and what operations it covers.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — alibabacloud-tea-openapi, darabonba-core |
| Maintenance | actively maintained — 219 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 243,645/month — #8,783 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: alibabacloud_sts20150401-1.2.0-py3-none-any.whl
Keywords: alibabacloud, sts20150401
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
alibabacloud-credentialsManages authentication credentials for Alibaba…
permissive · top 5,000 on PyPI
alibabacloud-oss20190517Provides a Python SDK for interacting with…
permissive · top 15,000 on PyPI
aliyun-python-sdk-stsProvides Python bindings to Aliyun's Security…
permissive · top 15,000 on PyPI
alibabacloud-sas20181203Provides Python bindings to Alibaba Cloud's…
permissive · top 15,000 on PyPI
alibabacloud-cdn20180510Provides Python bindings to Alibaba Cloud's CDN…
permissive · top 15,000 on PyPI
alibabacloud-vpc20160428Provides Python bindings to Alibaba Cloud's…
permissive · top 15,000 on PyPI
alibabacloud-rds20140815Provides Python bindings to the Alibaba Cloud…
permissive · top 15,000 on PyPI
alibabacloud-sls20201230Python SDK for Alibaba Cloud Log Service that…
permissive · top 15,000 on PyPI
aliyun-python-sdk-core-v3Provides core client and authentication…
permissive · top 15,000 on PyPI
aliyun-python-sdk-coreProvides core client infrastructure for calling…
permissive · top 5,000 on PyPI