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 |
---|---|
Future<Void> |
close()
Closes the configuration store.
|
Future<Buffer> |
get()
Retrieves the configuration store in this store.
|
SlimVaultClient |
getVaultClient() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, get
public VaultConfigStore(Vertx vertx, JsonObject config)
VaultConfigStore
.vertx
- the vert.x instanceconfig
- the configuration, used to create the SlimVaultClient
.public Future<Void> close()
ConfigStore
close
in interface ConfigStore
public Future<Buffer> get()
ConfigStore
get
in interface ConfigStore
public SlimVaultClient getVaultClient()
Copyright © 2021 Eclipse. All rights reserved.