dynamodb-encryption-sdk
DynamoDB Encryption Client for Python
Decision gist · record as of 2026-08-14
Yes. This is an actively maintained, production-stable AWS library with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need client-side encryption for DynamoDB items. Be aware that helper clients intentionally restrict update_item and attribute filtering to prevent signature validation failures—review the documentation to confirm this aligns with your access patterns.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires cryptography package; see cryptography installation guide for OS-specific prerequisites.
- Requires Python 3.8+.
- Low friction: pure Python wheel with three stable runtime dependencies (boto3, cryptography, attrs).
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 (permissive): you may use, modify, and distribute this package freely in commercial and private projects, provided you include the license notice.
last release 2024-08-07 (737 days) · last repo commit 2026-07-20 · 95 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,093 downloads/mo, #11,608 on PyPI
Alternatives
Verify before relying
pip install dynamodb-encryption-sdk
from dynamodb_encryption_sdk.encrypted.item import encrypt_python_item, decrypt_python_item
encrypted_item = encrypt_python_item(
item={'some': 'data', 'more': 5},
crypto_config=my_crypto_config
)
decrypted_item = decrypt_python_item(
item=encrypted_item,
crypto_config=my_crypto_config
)- Whether the package supports all boto3 DynamoDB operations or only a documented subset beyond put/get/scan/batch operations
- Performance overhead of client-side encryption relative to unencrypted boto3 calls
- Compatibility guarantees with specific boto3 versions or AWS SDK updates
What it is and what it does
The DynamoDB Encryption Client for Python is an AWS-provided library that adds client-side encryption to DynamoDB operations. It wraps boto3's DynamoDB client, resource, and table interfaces to transparently encrypt items before they reach DynamoDB and decrypt them on retrieval. The library supports attribute-level encryption and signing, allowing you to protect sensitive data while still querying unencrypted attributes.
The package provides two usage patterns: helper clients (EncryptedClient, EncryptedResource, EncryptedTable) that act as drop-in replacements for boto3 equivalents, and low-level item encryptor functions for advanced use cases like processing DynamoDB Streams. It depends on boto3 for AWS communication, cryptography for encryption primitives, and attrs for internal data structures. Note that the helper clients intentionally block update_item and attribute filtering operations to prevent signature validation failures from partial updates or missing signed attributes.
Use it for
- Protect sensitive DynamoDB table data (PII, financial records) before it leaves your application
- Comply with data protection regulations by encrypting items client-side before storage in managed AWS services
- Decrypt items from DynamoDB Streams for processing while maintaining encryption at rest
- Build multi-tenant applications where each tenant's data is encrypted with separate keys
- Migrate encrypted data between DynamoDB tables while preserving encryption boundaries
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is an actively maintained, production-stable AWS library with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need client-side encryption for DynamoDB items. Be aware that helper clients intentionally restrict update_item and attribute filtering to prevent signature validation failures—review the documentation to confirm this aligns with your access patterns.
Install
dynamodb-encryption-sdk on PyPI
Before you install
Low friction: pure Python wheel with three stable runtime dependencies (boto3, cryptography, attrs). Repository is active with recent commits and no archived status.
Requires cryptography package; see cryptography installation guide for OS-specific prerequisites. Requires Python 3.8+.
License in practice
Apache License 2.0 (permissive): you may use, modify, and distribute this package freely in commercial and private projects, provided you include the license notice.
Quickstart
pip install dynamodb-encryption-sdk
from dynamodb_encryption_sdk.encrypted.item import encrypt_python_item, decrypt_python_item
encrypted_item = encrypt_python_item(
item={'some': 'data', 'more': 5},
crypto_config=my_crypto_config
)
decrypted_item = decrypt_python_item(
item=encrypted_item,
crypto_config=my_crypto_config
)
Verify before relying
- Whether the package supports all boto3 DynamoDB operations or only a documented subset beyond put/get/scan/batch operations
- Performance overhead of client-side encryption relative to unencrypted boto3 calls
- Compatibility guarantees with specific boto3 versions or AWS SDK updates
Package facts
| License | Apache License 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesboto3cryptographyattrs |
| Maintenance | Actively maintained 737 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 131,093 / month, #11,608 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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: dynamodb_encryption_sdk-3.3.0-py2.py3-none-any.whl
Tags
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 › “dynamodb client-side encryption”
- dynamodb-encryption-sdkEncrypts and decrypts DynamoDB items client-side before transmission,…
- aioboto3Provides async/await support for AWS SDK operations, wrapping boto3…
- aws-cdk.aws-dynamodbProvides AWS CDK constructs for defining, configuring, and deploying…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
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.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
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.
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.
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.
See also aws-encryption-sdk · aws-cdk.aws-dynamodb · django-encrypted-model-fields · credstash · aws-cryptographic-material-providers · pynamodb · django-cryptography-django5 · davey · ansible-vault · aws-encryption-sdk-cli