Install & Compatibility
Where this runs
tested against v4.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 69.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.6s · import 0.000s · 70MB
72MB installed
● package 72MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AWSEncryptionSDKCLIError
✓ from aws_encryption_sdk_cli import AWSEncryptionSDKCLIError
✗ from aws_encryption_sdk_cli import encrypt_file
cli
✓ from aws_encryption_sdk_cli import cli
✗ from aws_encryption_sdk_cli import encrypt_file
build_crypto_materials_manager_from_args
✓ from aws_encryption_sdk_cli import build_crypto_materials_manager_from_args
✗ from aws_encryption_sdk_cli import encrypt_file
Basic encrypt/decrypt commands using AWS KMS. Requires AWS credentials configured.
# Encrypt a file with a KMS key
# Replace KEY_ARN and INPUT_FILE with your values
aws-encryption-sdk-cli encrypt --input /path/to/plaintext --output /path/to/ciphertext --master-keys key=arn:aws:kms:us-east-1:123456789012:key/abc123
# Decrypt the file
aws-encryption-sdk-cli decrypt --input /path/to/ciphertext --output /path/to/plaintext
aws-encryption-sdk-cli --version
Upgrade
Version history
4.3.0latest on PyPI · released Nov 27, 2025
Audit
Dependencies
aws-encryption-sdkrequiredCore dependency, provides the encryption/decryption operations
boto3requiredRequired for AWS KMS integration and credential resolution