From 86fe01ede03ef3e384a2eee6631febd299c84790 Mon Sep 17 00:00:00 2001 From: Nick Jones Date: Mon, 3 Feb 2025 12:50:25 +1300 Subject: [PATCH] Update iam_vault.go clarify error message --- auth/iam_vault.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/iam_vault.go b/auth/iam_vault.go index 44fabc3c..64aa22c6 100644 --- a/auth/iam_vault.go +++ b/auth/iam_vault.go @@ -47,7 +47,7 @@ func NewVaultIAMService(rootAcc Account, endpoint, secretStoragePath, mountPath, tls.ServerCertificate.FromBytes = []byte(serverCert) if clientCert != "" { if clientCertKey == "" { - return nil, fmt.Errorf("client certificate and client certificate should both be specified") + return nil, fmt.Errorf("client certificate and client certificate key should both be specified") } tls.ClientCertificate.FromBytes = []byte(clientCert)