--- id: alibabacloud-sts20150401 version: "1.2.0" license: Apache License 2.0 license_treatment: permissive maintenance: active --- # alibabacloud-sts20150401 — Alibaba Cloud Sts (20150401) SDK Library for Python License: permissive · Maintenance: active · Downloads: 243.6K/mo ## 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 above — 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 pip install alibabacloud-sts20150401 uv add alibabacloud-sts20150401 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_current - Install friction: low - Maintenance: active - Downloads: 243.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags alibaba cloud sts credentials, temporary security tokens alibaba, alibaba cloud access control, sts token generation python, alibaba cloud authentication sdk, assume role alibaba cloud, alibaba sts api client, alibaba-cloud, sts-credentials, cloud-auth [View on SkillFed](https://skillfed.io/packages/alibabacloud-sts20150401) · [View on PyPI](https://pypi.org/project/alibabacloud-sts20150401/)