Added KeyMapper abstraction for KMS KeyEncryptor. As our KMS KeyEncryptor needs some logic for creating KeyID from KeyContext to use it in key-related operations we need to have some abstraction over it to be able to switch key mapping logic for different strategies.
New interface KeyMapper was introduced and implemented for AWS KMS.
Added KeyMapper abstraction for KMS KeyEncryptor. As our KMS KeyEncryptor needs some logic for creating
KeyID
from KeyContext to use it in key-related operations we need to have some abstraction over it to be able to switch key mapping logic for different strategies.New interface
KeyMapper
was introduced and implemented for AWS KMS.Checklist