From da76d8ddaef2cd42bdbf2a9fbde827e3f76d1cde Mon Sep 17 00:00:00 2001 From: Marcel Lauhoff Date: Thu, 18 Aug 2022 18:07:08 +0200 Subject: [PATCH] kms: Add GetSecret() to KMIP KMS Signed-off-by: Marcel Lauhoff --- internal/kms/kmip.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/kms/kmip.go b/internal/kms/kmip.go index 250d8f1db..f0e1fac2b 100644 --- a/internal/kms/kmip.go +++ b/internal/kms/kmip.go @@ -500,6 +500,10 @@ func (kms *kmipKMS) verifyResponse( return &batchItem, nil } +func (kms *kmipKMS) GetSecret(volumeID string) (string, error) { + return "", ErrGetSecretUnsupported +} + // TODO: use the following structs from https://github.com/gemalto/kmip-go // when https://github.com/ThalesGroup/kmip-go/issues/21 is resolved. // refer: https://docs.oasis-open.org/kmip/spec/v1.4/kmip-spec-v1.4.html.