aliyun-python-sdk-sts
The sts module of Aliyun Python sdk.
What it is and what it does
This package is the official Aliyun Python SDK module for Security Token Service (STS), which handles temporary credential generation on Aliyun cloud. It integrates with aliyun-python-sdk-core to provide a unified interface for requesting short-lived security tokens and managing access to Aliyun resources.
Developers use it to build applications that need temporary, scoped credentials instead of long-lived access keys—a common pattern in cloud security. The package supports Python 3.7 and later and is maintained as part of Aliyun's official SDK ecosystem, though its aging status suggests infrequent updates. It is most useful for applications already committed to Aliyun infrastructure.
Use it for:
- Request temporary security credentials for delegated access to Aliyun resources without exposing long-lived keys.
- Build applications where temporary, scoped credentials are needed for time-limited access to Aliyun services.
- Integrate STS into deployment pipelines to generate ephemeral credentials for automated processes.
- Support multi-tenant scenarios requiring isolated, time-limited credentials for different application components.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Aliyun's Security Token Service (STS) API, enabling applications to request temporary security credentials for Aliyun cloud resources.
Yes, if you are already using Aliyun cloud services and need to manage temporary credentials. The package is stable, permissively licensed, and has no known vulnerabilities. However, the aging maintenance status (410 days since last release) means you should verify that it meets your current security and API requirements before adopting it in new projects.
Install
aliyun-python-sdk-sts on PyPI
pip
pip install aliyun-python-sdk-stsuv
uv add aliyun-python-sdk-stspoetry
poetry add aliyun-python-sdk-stsInstalling aliyun-python-sdk-sts
Before you install
Low install friction with a single runtime dependency. Maintenance status is aging—last release was 410 days ago—so expect slower response to issues, though the package remains functional.
License in practice
Licensed under Apache (permissive), so you can use, modify, and distribute this package freely in commercial and private projects without copyleft obligations.
Quickstart
pip install aliyun-python-sdk-sts
import aliyun_python_sdk_sts
from aliyun_python_sdk_core import AcsClient
client = AcsClient('access_key_id', 'access_key_secret', 'region_id')
Requires aliyun-python-sdk-core as a runtime dependency; Aliyun credentials (access key ID and secret) must be configured to authenticate with services.
Verify before relying
- Whether the package actively receives security updates or only maintenance patches for critical issues.
- Current state of the upstream repository and whether it accepts community contributions.
- Specific STS API operations and request/response structures supported by this version.
Package facts
| License | Apache (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — aliyun-python-sdk-core |
| Maintenance | aging — 410 days since the last release |
| First released | |
| Downloads | 84,304/month — #14,008 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aliyun_python_sdk_sts-3.1.3-py2.py3-none-any.whl
Keywords: aliyun, sdk, sts
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-sts20150401Provides Python bindings to Alibaba Cloud's…
permissive · top 15,000 on PyPI
aliyun-python-sdk-kmsProvides Python bindings to Aliyun's Key…
permissive · top 5,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
alibabacloud-credentialsManages authentication credentials for Alibaba…
permissive · top 5,000 on PyPI
alibabacloud-credentials-apiProvides credential management interfaces and…
permissive · top 5,000 on PyPI
igwn-auth-utilsDiscovers and deserializes X.509 credentials…
permissive · top 15,000 on PyPI
aliyun-python-sdk-core-v3Provides core client and authentication…
permissive · top 15,000 on PyPI
requests-aws4authAdds AWS Signature Version 4 authentication to…
permissive · top 1,000 on PyPI
aliyun-python-sdk-coreProvides core client infrastructure for calling…
permissive · top 5,000 on PyPI
aws-assume-role-libSimplifies AWS role assumption in boto3 by…
permissive · top 15,000 on PyPI