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 |
---|---|
io.vertx.core.Future<Void> |
close() |
io.vertx.core.Future<io.vertx.core.buffer.Buffer> |
get() |
SlimVaultClient |
getVaultClient() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, get
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 io.vertx.core.Future<Void> close()
close
in interface ConfigStore
public io.vertx.core.Future<io.vertx.core.buffer.Buffer> get()
get
in interface ConfigStore
public SlimVaultClient getVaultClient()
Copyright © 2021 Eclipse. All rights reserved.