Open mattsb42-aws opened 5 years ago
The non-API-breaking way to make this change is to allow NULL to be passed in for the generator key ID. We could additionally allow an empty string to be passed in and treat it the same way.
@david-koenig Agreed. This should have a similar pattern as creating a multikeyring with no generator.
See also #557
If I am reading this correctly, the KMS keyring builder requires that
generator_key_id
is set. This should not be required.The core use case for this is that we need to allow the caller to explicitly control what keyring generates the data key. Requiring that the generator keyring is set removes this control.