Class VaultConfigStore
java.lang.Object
io.vertx.config.vault.VaultConfigStore
- All Implemented Interfaces:
ConfigStore
An implementation of
ConfigStore for Vault (https://www.vaultproject.io/).- Author:
- Clement Escoffier
-
Constructor Summary
ConstructorsConstructorDescriptionVaultConfigStore(Vertx vertx, JsonObject config) Creates an instance ofVaultConfigStore. -
Method Summary
-
Constructor Details
-
VaultConfigStore
Creates an instance ofVaultConfigStore.- Parameters:
vertx- the vert.x instanceconfig- the configuration, used to create theSlimVaultClient.
-
-
Method Details
-
close
Description copied from interface:ConfigStoreCloses the configuration store.- Specified by:
closein interfaceConfigStore- Returns:
- a
Futureof the asynchronous result.
-
get
Description copied from interface:ConfigStoreRetrieves the configuration store in this store.- Specified by:
getin interfaceConfigStore- Returns:
- a
Futureof the asynchronous result.
-
getVaultClient
- Returns:
- the underlying client - for testing purpose only.
-