public class VaultConfigStore extends Object implements ConfigStore
ConfigStore
for Vault (https://www.vaultproject.io/).Constructor and Description |
---|
VaultConfigStore(io.vertx.core.Vertx vertx,
io.vertx.core.json.JsonObject config)
Creates an instance of
VaultConfigStore . |
Modifier and Type | Method and Description |
---|---|
void |
close(io.vertx.core.Handler<Void> completionHandler) |
void |
get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> completionHandler) |
SlimVaultClient |
getVaultClient() |
public VaultConfigStore(io.vertx.core.Vertx vertx, io.vertx.core.json.JsonObject config)
VaultConfigStore
.vertx
- the vert.x instanceconfig
- the configuration, used to create the SlimVaultClient
.public void close(io.vertx.core.Handler<Void> completionHandler)
close
in interface ConfigStore
public void get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> completionHandler)
get
in interface ConfigStore
public SlimVaultClient getVaultClient()
Copyright © 2019 Eclipse. All rights reserved.