skillfed

aliyun-python-sdk-sts

The sts module of Aliyun Python sdk.

aliyun-python-sdk-sts v3.1.3 84.3K downloads/30d#14,008 on PyPI
Permissive license Apache AGING released

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-sts

uv

uv add aliyun-python-sdk-sts

poetry

poetry add aliyun-python-sdk-sts

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Tags

aliyun sts credentialstemporary security tokensaliyun access controlaliyun python sdkcloud credential managementaliyun authentication
aliyun-sdksts-credentialscloud-auth

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

alibabacloud-sts20150401

Provides Python bindings to Alibaba Cloud's…

permissive · top 15,000 on PyPI

aliyun-python-sdk-kms

Provides Python bindings to Aliyun's Key…

permissive · top 5,000 on PyPI

aliyun-python-sdk-ecs

Provides Python bindings to Aliyun's Elastic…

permissive · top 15,000 on PyPI

alibabacloud-credentials

Manages authentication credentials for Alibaba…

permissive · top 5,000 on PyPI

alibabacloud-credentials-api

Provides credential management interfaces and…

permissive · top 5,000 on PyPI

igwn-auth-utils

Discovers and deserializes X.509 credentials…

permissive · top 15,000 on PyPI

aliyun-python-sdk-core-v3

Provides core client and authentication…

permissive · top 15,000 on PyPI

requests-aws4auth

Adds AWS Signature Version 4 authentication to…

permissive · top 1,000 on PyPI

aliyun-python-sdk-core

Provides core client infrastructure for calling…

permissive · top 5,000 on PyPI

aws-assume-role-lib

Simplifies AWS role assumption in boto3 by…

permissive · top 15,000 on PyPI