diff --git a/schemaregistry/rules/encryption/dekregistry/dekregistry-client.ts b/schemaregistry/rules/encryption/dekregistry/dekregistry-client.ts index b6800c86..dff910fe 100644 --- a/schemaregistry/rules/encryption/dekregistry/dekregistry-client.ts +++ b/schemaregistry/rules/encryption/dekregistry/dekregistry-client.ts @@ -70,7 +70,8 @@ class DekRegistryClient implements Client { }; - this.restService = new RestService(config.baseURLs, config.isForward, config.createAxiosDefaults); + this.restService = new RestService(config.baseURLs, config.isForward, config.createAxiosDefaults, + config.basicAuthCredentials, config.bearerAuthCredentials); this.kekCache = new LRUCache(cacheOptions); this.dekCache = new LRUCache(cacheOptions); this.kekMutex = new Mutex();