Add Close method to the key manager interface.

pull/164/head
Mariano Cano 4 years ago
parent e60beeb7fc
commit a3128a26bb

@ -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.

Loading…
Cancel
Save