skillfed

alibabacloud-sts20150401

Alibaba Cloud Sts (20150401) SDK Library for Python

alibabacloud-sts20150401 v1.2.0 243.6K downloads/30d#8,783 on PyPI138
Permissive license Apache License 2.0 Active released

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

uv

uv add alibabacloud-sts20150401

poetry

poetry add alibabacloud-sts20150401

Installing 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

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

alibaba cloud sts credentialstemporary security tokens alibabaalibaba cloud access controlsts token generation pythonalibaba cloud authentication sdkassume role alibaba cloudalibaba sts api client
alibaba-cloudsts-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-credentials

Manages authentication credentials for Alibaba…

permissive · top 5,000 on PyPI

alibabacloud-oss20190517

Provides a Python SDK for interacting with…

permissive · top 15,000 on PyPI

aliyun-python-sdk-sts

Provides Python bindings to Aliyun's Security…

permissive · top 15,000 on PyPI

alibabacloud-sas20181203

Provides Python bindings to Alibaba Cloud's…

permissive · top 15,000 on PyPI

alibabacloud-cdn20180510

Provides Python bindings to Alibaba Cloud's CDN…

permissive · top 15,000 on PyPI

alibabacloud-vpc20160428

Provides Python bindings to Alibaba Cloud's…

permissive · top 15,000 on PyPI

alibabacloud-rds20140815

Provides Python bindings to the Alibaba Cloud…

permissive · top 15,000 on PyPI

alibabacloud-sls20201230

Python SDK for Alibaba Cloud Log Service that…

permissive · top 15,000 on PyPI

aliyun-python-sdk-core-v3

Provides core client and authentication…

permissive · top 15,000 on PyPI

aliyun-python-sdk-core

Provides core client infrastructure for calling…

permissive · top 5,000 on PyPI