- 최신
- 최다 투표
- 가장 많은 댓글
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 공식업데이트됨 10달 전
- AWS 공식업데이트됨 2년 전