Skip to content

Commit 0e7d7e7

Browse files
authored
Pass creds to DEK Registry client (#99)
1 parent 434e23b commit 0e7d7e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schemaregistry/rules/encryption/dekregistry/dekregistry-client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ class DekRegistryClient implements Client {
7070
};
7171

7272

73-
this.restService = new RestService(config.baseURLs, config.isForward, config.createAxiosDefaults);
73+
this.restService = new RestService(config.baseURLs, config.isForward, config.createAxiosDefaults,
74+
config.basicAuthCredentials, config.bearerAuthCredentials);
7475
this.kekCache = new LRUCache<string, Kek>(cacheOptions);
7576
this.dekCache = new LRUCache<string, Dek>(cacheOptions);
7677
this.kekMutex = new Mutex();

0 commit comments

Comments
 (0)