- 最新
- 最多得票
- 最多評論
Hi,
Take a look at this example for how to initialize a RawMasterKey with access to the public key and a RawMasterKey with access to the private key:
https://github.com/aws/aws-encryption-sdk-python/blob/keyring/examples/src/master_key_provider/multi/aws_kms_with_escrow.py
The RawMasterKey with access to the public key can be used for encryption, and the RawMasterKey with access to the private key can be used for decryption.
(Note that this links to example on one of our features branches. For future readers of this post, if this link is dead, look for this example on the master branch.)
Hi,
Thanks. Works perfectly.
Curiously, I thought I had tried a pattern similar to that, but in all honesty I am no longer sure :)
Regardless, this is the tonic. I have also tried it with aws_encryption_sdk.stream(), as I will be dealing with bigger files and as expected, it worked perfectly.
I appreciate you taking the time to answer. Thanks!
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前