From b5a63467f433ce15a6a4f65f2f6c1893f97f29c5 Mon Sep 17 00:00:00 2001 From: srinandan <13950006+srinandan@users.noreply.github.com> Date: Tue, 19 Sep 2023 07:50:58 -0700 Subject: [PATCH] bug: fixes missing auth header #291 --- internal/client/keystores/keystores.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/client/keystores/keystores.go b/internal/client/keystores/keystores.go index b5703fa05..7ca35287f 100644 --- a/internal/client/keystores/keystores.go +++ b/internal/client/keystores/keystores.go @@ -136,6 +136,11 @@ func importKeystores(wg *sync.WaitGroup, jobs <-chan string, errs chan<- error) errs <- err continue } + req, err = apiclient.SetAuthHeader(req) + if err != nil { + errs <- err + continue + } resp, err := apiclient.ApigeeAPIClient.Do(req) if err != nil {