What this PR does / why we need it:
We were facing issue with message too long when encrypting data with google KMS. This PR adds the functionality to divide the incoming data into chunks and encrypt/decrypt them one by one.
Which issue(s) this PR fixes (optional)
PWX-19815
Special notes for your reviewer:
Testing notes:
tested locally with 2.9.1.3 cluster with pxctl cred create and pxctl cred validate with google kms and google credentials.
Signed-off-by: dahuang dahuang@purestorage.com
What this PR does / why we need it: We were facing issue with message too long when encrypting data with google KMS. This PR adds the functionality to divide the incoming data into chunks and encrypt/decrypt them one by one.
Which issue(s) this PR fixes (optional) PWX-19815
Special notes for your reviewer: Testing notes: tested locally with 2.9.1.3 cluster with
pxctl cred create
andpxctl cred validate
with google kms and google credentials.all unit test + integration test passed locally