Skip to content

Commit 1e159ba

Browse files
gliptaktexastony
andauthored
Update README.rst
Co-authored-by: Tony Knapp <[email protected]>
1 parent 3c73f4d commit 1e159ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,9 @@ a new `BaseKMSMasterKeyProvider` per thread is sufficient.
319319

320320
(The `BaseKMSMasterKeyProvider` is the internal parent class of all the KMS Providers.)
321321

322-
If you are using data key caching, however, caches can be shared across threads without issue, though if you want to share entries in that cache across threads you will need to be careful (see explanation about `partition name <http://aws-encryption-sdk-python.readthedocs.io/en/latest/generated/aws_encryption_sdk.materials_managers.caching.html#aws_encryption_sdk.materials_managers.caching.CachingCryptoMaterialsManager>`_ ).
322+
Finally, while the `CryptoMaterialsCache` is thread safe,
323+
sharing entries in that cache across threads needs to be done carefully
324+
(see the !Note about partition name [in the API Docs](https://aws-encryption-sdk-python.readthedocs.io/en/latest/generated/aws_encryption_sdk.materials_managers.caching.html#aws_encryption_sdk.materials_managers.caching.CachingCryptoMaterialsManager)).
323325

324326
.. _AWS Encryption SDK: https://docs.aws.amazon.com/encryption-sdk/latest/developer-guide/introduction.html
325327
.. _cryptography: https://cryptography.io/en/latest/

0 commit comments

Comments
 (0)