Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thread safety? #560

Closed
gliptak opened this issue Feb 12, 2023 · 2 comments
Closed

thread safety? #560

gliptak opened this issue Feb 12, 2023 · 2 comments

Comments

@gliptak
Copy link
Contributor

gliptak commented Feb 12, 2023

Are aws_encryption_sdk.EncryptionSDKClient, aws_encryption_sdk.StrictAwsKmsMasterKeyProvider, aws_encryption_sdk.CachingCryptoMaterialsManager (and related constructs) thread-safe?

I didn't see related details in the documentation, so please point me if it is available to review.

@ajewellamz
Copy link
Contributor

The Python ESDK is mostly thread safe, with some caveats.
An in depth discussion can be found here
#11 (comment)

Specifically, note that you must create a new aws_encryption_sdk.StrictAwsKmsMasterKeyProvider for each thread, but everything else should be safe.

@gliptak
Copy link
Contributor Author

gliptak commented Feb 16, 2023

thank you for the pointer @ajewellamz I will review guidance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants