Skip to main content

AWS Cryptographic Material Providers Library for Python

Project description

MPL-python-tests Code style: black Documentation Status

These are the docs for the AWS Cryptographic Materials Providers Library for Python.

The latest full documentation can be found at Read the Docs.

Find us on GitHub.

Security

If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public GitHub issue.

Getting Started

Required Prerequisites

  • Python 3.11+

  • cryptography >= 43.0.1

  • boto3 >= 1.35.42

Installation

Concepts

The AWS Cryptographic Materials Providers Library (MPL) is available in multiple languages. The concepts in the Python implementation of the MPL are the same as in other languages. For more information on concepts in the MPL, see the README for all languages.

Thread safety

The MaterialProviders client and all provided CryptoMaterialsManagers (CMMs) are thread safe. But keyrings that call AWS Key Management Service (KMS) and CMMs that use keyrings that call KMS MUST not be shared between threads, for reasons outlined in the boto3 docs.

(Keyrings that call KMS are identified by the string Kms in their name. ex. AwsKmsKeyring, AwsKmsMrkDiscoveryMultiKeyring, etc.)

Finally, while the provided implementations of ICryptographicMaterialsCache are thread-safe, there is currently no thread-safe keyring implementation that supports using a cache.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_cryptographic_material_providers-1.11.1.tar.gz (514.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file aws_cryptographic_material_providers-1.11.1.tar.gz.

File metadata

File hashes

Hashes for aws_cryptographic_material_providers-1.11.1.tar.gz
Algorithm Hash digest
SHA256 a50d7185a2e3542d53cc8b6c39dd7db4f2d1ee608b3b82dc83ee9485877d42bc
MD5 aeae58b6eba8813be7db0c19bbf98d0d
BLAKE2b-256 e0269dd2c8da45c603944623024227dd093a511ef95201adf2e5a3c9dea7ee23

See more details on using hashes here.

File details

Details for the file aws_cryptographic_material_providers-1.11.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cryptographic_material_providers-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1a7e5c8f02d024e0f2c67129c4e398debacaf8b9c333c038c66b0055f407da04
MD5 6cdba8aada5d775235d64aa3d537e652
BLAKE2b-256 e8b97bf314b4f833f6beb1363d4960c12fd98efaf2f873f25506ce492d3c973c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page