public class VaultConfigStore extends Object implements io.vertx.config.spi.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 io.vertx.config.spi.ConfigStorepublic void get(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> completionHandler)
get in interface io.vertx.config.spi.ConfigStorepublic SlimVaultClient getVaultClient()
Copyright © 2019 Eclipse. All rights reserved.