Closed mode-ankit-khandelwal closed 1 month ago
Hi @mode-ankit-khandelwal,
ICryptographicMaterialsManager
and ICryptographicMaterialsCache
will not work with the legacy CachingCMM. We (AWS Crypto Tools) must release a new caching CMM in the AWS Cryptographic Material Providers Library (MPL) before you can migrate.AwsKmsKeyring
: link. This keyring takes in a single KMS key ARN.
If you need to use multiple key ARNs, check out the AwsKmsMultiKeyring
: link. This keyring takes in a generator key and a list of key ARNs. (See this code example configuring and using this keyring.)Thanks, Lucas
Problem:
Hello ESDK team 🙏
CachingCryptoMaterialsManager
toICryptographicMaterialsManager
andICryptographicMaterialsCache
?KmsMasterKeyProvider.builder().buildStrict(keyARN)
?Our existing code usage looks similar to below