$npx skillfedfor your agent

aws-encryption-sdk

AWS Encryption SDK implementation for Python

Worth itPyPI SecurityReleased May 20263.6M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_encryption_sdk-4.0.6-py2.py3-none-any.whl
v4.0.6 · released 2026-05-07 · 4 runtime deps: boto3, cryptography, attrs, wrapt

Yes. This is a production-grade, actively maintained library from AWS with no known vulnerabilities, permissive licensing, and low install friction. Install it if you need to encrypt/decrypt data with AWS KMS in Python. The modern keyring API requires the optional aws-cryptographic-material-providers library (Python 3.11+), but the core client works with Python 3.8+. The legacy master key provider API is discouraged but still functional.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8+.
  • Keyrings and cryptographic material managers require the optional aws-cryptographic-material-providers library (which requires Python 3.11+).
  • System dependencies for cryptography may be needed on some platforms.

License · maintenance · safety

Apache License 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions, making it suitable for most production environments.

last release 2026-05-07 (99 days) · last repo commit 2026-08-10 · 253 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,644,793 downloads/mo, #2,545 on PyPI

Verify before relying

pip install aws-encryption-sdk

import aws_encryption_sdk
from aws_encryption_sdk.identifiers import CommitmentPolicy

client = aws_encryption_sdk.EncryptionSDKClient(
    commitment_policy=CommitmentPolicy.REQUIRE_ENCRYPT_REQUIRE_DECRYPT
)
  • Whether the legacy master key provider API is still widely used or if migration to keyrings is now standard practice
  • Performance characteristics and throughput limits for large-scale encryption/decryption workloads
  • Compatibility guarantees with different AWS KMS key types and regions
Same gist for agents: .md · .json

What it is and what it does

The AWS Encryption SDK for Python provides a native implementation of AWS's encryption standard, enabling you to encrypt and decrypt data using AWS KMS keys. It wraps cryptography, boto3, attrs, and wrapt to manage encryption workflows, supporting both modern keyring-based approaches and legacy master key provider patterns. The library handles data key generation, encryption, and decryption through configurable keyrings or cryptographic materials managers, with built-in support for multi-key scenarios and discovery-based decryption.

The package is designed for developers who need to encrypt sensitive data in Python applications using AWS KMS as the key management backend. It abstracts away the complexity of envelope encryption (encrypting data keys with KMS master keys) and provides a straightforward client API for encrypt/decrypt operations. The library has been in production use since 2017 and is actively maintained by AWS.

Use it for

  • Encrypt application data at rest using AWS KMS keys managed in your AWS account
  • Decrypt data encrypted by other AWS Encryption SDK implementations across languages
  • Implement multi-key encryption where multiple KMS keys can decrypt the same ciphertext
  • Decrypt data when KMS key ARNs are unknown using discovery keyrings with account filters
  • Migrate from legacy master key provider patterns to modern keyring-based encryption

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This is a production-grade, actively maintained library from AWS with no known vulnerabilities, permissive licensing, and low install friction. Install it if you need to encrypt/decrypt data with AWS KMS in Python. The modern keyring API requires the optional aws-cryptographic-material-providers library (Python 3.11+), but the core client works with Python 3.8+. The legacy master key provider API is discouraged but still functional.

Install

aws-encryption-sdk on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained as of 2026-05-07, with recent commits and 253 GitHub stars. Requires cryptography >= 3.4.6, boto3 >= 1.10.0, attrs, and wrapt as runtime dependencies.

Requires Python 3.8+. Keyrings and cryptographic material managers require the optional aws-cryptographic-material-providers library (which requires Python 3.11+). System dependencies for cryptography may be needed on some platforms.

License in practice

Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions, making it suitable for most production environments.

Quickstart

pip install aws-encryption-sdk

import aws_encryption_sdk
from aws_encryption_sdk.identifiers import CommitmentPolicy

client = aws_encryption_sdk.EncryptionSDKClient(
    commitment_policy=CommitmentPolicy.REQUIRE_ENCRYPT_REQUIRE_DECRYPT
)

Verify before relying

  • Whether the legacy master key provider API is still widely used or if migration to keyrings is now standard practice
  • Performance characteristics and throughput limits for large-scale encryption/decryption workloads
  • Compatibility guarantees with different AWS KMS key types and regions

Package facts

LicenseApache License 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
boto3cryptographyattrswrapt
MaintenanceActively maintained 99 days since the last release
Last repo commit
First released
Downloads3,644,793 / month, #2,545 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: SecurityTopic :: Security :: Cryptography

Evidence: aws_encryption_sdk-4.0.6-py2.py3-none-any.whl

Tags

Capabilities
aws encryption sdk pythonencrypt decrypt with kmsaws data encryptionkms keyring encryptioncryptographic material providersaws encryption clientenvelope encryption aws
Topics
aws-kmsenvelope-encryptioncryptography
PyPI keywords
aws-encryption-sdkawskmsencryption

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aws encryption sdk python”

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also aws-cryptographic-material-providers · aws-encryption-sdk-cli · dynamodb-encryption-sdk · http-ece · aliyun-python-sdk-kms · kasa-crypt · credstash · keyrings.alt · keyrings.cryptfile · xxtea