You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
multiple different configurations tried, including manually providing the ARN for the key, and all of them result in the error shown below with the pertinent part being "BC" providerID doesnt match to with MasterKeyProvider ID "aws-kms"
SDK error: decryption error
decrypt materials: no data key, last error: CMM error
unable to decrypt any data key, member error: MKP error
DecryptDataKeyFromList validate expected error: MKP decrypt error
"BC" providerID doesnt match to with MasterKeyProvider ID "aws-kms"
What i would like to know is if this is potentially a bug or is there a misconfiguration on my end, if its the latter then i would appreciate a pointer in the right direction
The text was updated successfully, but these errors were encountered:
It is also worth noting that when i set it up manually using a new raw provider (using the code below) i get a similar error, just without the "BC" providerID doesnt match to with MasterKeyProvider ID "aws-kms"
all variable values are as per the original post unless specified otherwise
SDK error: decryption error
decrypt materials: no data key, last error: CMM error
unable to decrypt any data key, member error: MKP error
unable to decrypt data key: MKP decrypt error
Setup/structure:
Data being sent to the kinesis stream from a pgsql database whenever a field/row is updated, data is encrypted using kms.
Code:
where
kmsClient
is the AWS sdk v2 kms clientkey
is the base64 encodedkey
value in the kinesis recorddata
is the base64 encodeddatabaseActivityEvents
value in the kinesis recordclusterResourceId
is what it sounds likethis results in a decrypted struct, in which is the ARN for the key used, this is then used below
encryptionClient
is basicallyclient.NewClientWithConfig(encryptionConfig)
Issue:
multiple different configurations tried, including manually providing the ARN for the key, and all of them result in the error shown below with the pertinent part being
"BC" providerID doesnt match to with MasterKeyProvider ID "aws-kms"
What i would like to know is if this is potentially a bug or is there a misconfiguration on my end, if its the latter then i would appreciate a pointer in the right direction
The text was updated successfully, but these errors were encountered: