kmsv2: validate encrypt response at DEK generation time
Prior to this change, we wait until the DEK is used to perform an encryption before validating the response. This means that the plugin could report healthy but all TransformToStorage calls would fail. Now we correctly cause the plugin to become unhealthy and do not attempt to use the newly generated DEK. Signed-off-by: Monis Khan <mok@microsoft.com> Kubernetes-commit: 479fcf0b13f551517801b8677272c73f3f845565
This commit is contained in:
parent
90c5f14b70
commit
021e1f7afd