public class VaultConfigStore extends Object implements ConfigStore
ConfigStore for Vault (https://www.vaultproject.io/).| Constructor and Description |
|---|
VaultConfigStore(Vertx vertx,
JsonObject config)
Creates an instance of
VaultConfigStore. |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Handler<Void> completionHandler)
Closes the configuration store.
|
void |
get(Handler<AsyncResult<Buffer>> completionHandler)
Retrieves the configuration store in this store.
|
SlimVaultClient |
getVaultClient() |
public VaultConfigStore(Vertx vertx, JsonObject config)
VaultConfigStore.vertx - the vert.x instanceconfig - the configuration, used to create the SlimVaultClient.public void close(Handler<Void> completionHandler)
ConfigStoreclose in interface ConfigStorecompletionHandler - handler called when the cleanup has been completedpublic void get(Handler<AsyncResult<Buffer>> completionHandler)
ConfigStoreget in interface ConfigStorecompletionHandler - the handler to pass the configurationpublic SlimVaultClient getVaultClient()
Copyright © 2023 Eclipse. All rights reserved.