From a3128a26bb0574e35a8aa2de1f42b9f18c8da634 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 14 Jan 2020 18:46:01 -0800 Subject: [PATCH] Add Close method to the key manager interface. --- kms/kms.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kms/kms.go b/kms/kms.go index 5e54451d..524afae7 100644 --- a/kms/kms.go +++ b/kms/kms.go @@ -16,6 +16,7 @@ type KeyManager interface { GetPublicKey(req *apiv1.GetPublicKeyRequest) (*apiv1.GetPublicKeyResponse, error) CreateKey(req *apiv1.CreateKeyRequest) (*apiv1.CreateKeyResponse, error) CreateSigner(req *apiv1.CreateSignerRequest) (crypto.Signer, error) + Close() error } // New initializes a new KMS from the given type.