aliyun-python-sdk-kms
The kms module of Aliyun Python sdk.
What it is and what it does
This is the official Aliyun Python SDK module for Key Management Service, allowing Python applications to interact with Aliyun's cloud-hosted key and encryption management. It wraps the Aliyun KMS API, letting you perform cryptographic operations, manage encryption keys, and integrate key services into Python applications targeting the Aliyun cloud platform.
The package depends on aliyun-python-sdk-core for underlying SDK infrastructure. It is classified as Beta and has been dormant for 714 days, suggesting it may not receive updates for new Python versions or service API changes. The permissive Apache license permits commercial use.
Use it for:
- Encrypt and decrypt data using keys managed by Aliyun KMS from a Python application.
- Manage encryption keys (create, rotate, enable/disable) programmatically via Aliyun's cloud service.
- Integrate Aliyun KMS into a Python backend that requires centralized key management.
- Automate key operations in infrastructure or deployment scripts targeting Aliyun.
- Build Python applications that rely on Aliyun's cryptographic services for compliance or security.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Aliyun's Key Management Service (KMS) for cryptographic operations and key management through the Aliyun cloud platform.
Yes, if you are already committed to the Aliyun ecosystem and need Python bindings to KMS. The low install friction, permissive license, and zero known vulnerabilities are positive. However, the 714-day dormancy and unclear Python 3.7+ support are concerns—verify compatibility with your target Python version and test thoroughly before production use.
Install
aliyun-python-sdk-kms on PyPI
pip
pip install aliyun-python-sdk-kmsuv
uv add aliyun-python-sdk-kmspoetry
poetry add aliyun-python-sdk-kmsInstalling aliyun-python-sdk-kms
Before you install
Low install friction with a single dependency on aliyun-python-sdk-core. However, the package is dormant—no releases for 714 days—which may signal limited active maintenance or support for newer Python versions and security updates.
License in practice
Licensed under Apache (permissive treatment), so you may use, modify, and distribute it freely in commercial and private projects, provided you include the license notice.
Quickstart
pip install aliyun-python-sdk-kms
from aliyun_python_sdk_kms import kms_client
# Initialize and call KMS operations via the client
Package classifiers list Python 2.6–3.6 support; requires_python is unspecified, so compatibility with modern Python versions is unclear.
Verify before relying
- Whether the package works reliably with Python 3.7 and later versions, given classifiers only list up to 3.6.
- Whether dormant status reflects end-of-life or simply stable maintenance; no repository link or commit history available to assess.
- Specific KMS operations and API coverage compared to the current Aliyun KMS service.
- Whether the package receives security updates or patches despite dormant release status.
Package facts
| License | Apache (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — aliyun-python-sdk-core |
| Maintenance | dormant — 714 days since the last release |
| First released | |
| Downloads | 6,317,753/month — #1,932 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl
Keywords: aliyun, sdk, kms
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
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
aliyun-python-sdk-stsProvides Python bindings to Aliyun's Security…
permissive · top 15,000 on PyPI
alibabacloud-kms20160120Provides a Python client library for Alibaba…
permissive · top 15,000 on PyPI
google-cloud-kmsProvides a Python client library for Google…
permissive · top 1,000 on PyPI
aws-encryption-sdkEncrypts and decrypts data using AWS KMS keys…
permissive · top 5,000 on PyPI
aws-cryptographic-material-providersProvides cryptographic material management and…
unclear · top 15,000 on PyPI
PyKMIPPyKMIP implements the KMIP protocol for…
permissive · top 15,000 on PyPI
aws-encryption-sdk-cliCommand-line tool to encrypt and decrypt files…
permissive · top 15,000 on PyPI
oss2Python SDK for uploading, downloading, and…
permissive · top 5,000 on PyPI
aws-cdk.aws-kmsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI