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) |
void |
get(Handler<AsyncResult<Buffer>> completionHandler) |
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)
close in interface ConfigStorepublic void get(Handler<AsyncResult<Buffer>> completionHandler)
get in interface ConfigStorepublic SlimVaultClient getVaultClient()
Copyright © 2018 Eclipse. All rights reserved.