Class HashicorpVaultConfiguration

java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.HashicorpVaultConfiguration

public class HashicorpVaultConfiguration extends VaultConfiguration
Configuration for access to Hashicorp Vault Secrets.
  • Constructor Details

    • HashicorpVaultConfiguration

      public HashicorpVaultConfiguration()
  • Method Details

    • getToken

      public String getToken()
    • setToken

      public void setToken(String token)
      Token to access hashicorp vault
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
      Host to access hashicorp vault
    • getPort

      public String getPort()
    • setPort

      public void setPort(String port)
      Port to access hashicorp vault
    • getScheme

      public String getScheme()
    • setScheme

      public void setScheme(String scheme)
      Scheme to access hashicorp vault
    • isCloud

      public boolean isCloud()
    • setCloud

      public void setCloud(boolean cloud)
      Determine if the Hashicorp Vault is deployed on Hashicorp Cloud or not
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
      If the Hashicorp Vault instance is deployed on Hashicorp Cloud, this field will determine the namespace
    • isRefreshEnabled

      public boolean isRefreshEnabled()
    • setRefreshEnabled

      public void setRefreshEnabled(boolean refreshEnabled)
      Whether to automatically reload Camel upon secrets being updated in Hashicorp Vault.
    • getRefreshPeriod

      public long getRefreshPeriod()
    • setRefreshPeriod

      public void setRefreshPeriod(long refreshPeriod)
      The period (millis) between checking Hashicorp Vault for updated secrets.
    • getSecrets

      public String getSecrets()
    • setSecrets

      public void setSecrets(String secrets)
      Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.