Interface VaultConfigHttpClient<T extends AbstractVaultResponse<?>>

Type Parameters:
T - The body type
All Known Subinterfaces:
VaultConfigHttpClientV1, VaultConfigHttpClientV2

public interface VaultConfigHttpClient<T extends AbstractVaultResponse<?>>
A contract for an HTTP client to read configuration from Vault.
Since:
1.2.0
Author:
James Kleeh
  • Method Details

    • getDescription

      String getDescription()
      Returns:
      The client description
    • readConfigurationValues

      org.reactivestreams.Publisher<T> readConfigurationValues(@NonNull @Header("X-Vault-Token") @NonNull String token, @NonNull @NonNull String backend, @NonNull @NonNull String vaultKey)
      Read configuration from Vault.
      Parameters:
      token - The vault token
      backend - The secret engine name
      vaultKey - The vault key
      Returns:
      A publisher of the response body