Class GcpVaultConfiguration

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

public class GcpVaultConfiguration extends VaultConfiguration
Configuration for access to GCP Secret Manager.
  • Constructor Details

    • GcpVaultConfiguration

      public GcpVaultConfiguration()
  • Method Details

    • getServiceAccountKey

      public String getServiceAccountKey()
    • setServiceAccountKey

      public void setServiceAccountKey(String serviceAccountKey)
      The Service Account Key location
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
      The GCP Project ID
    • isUseDefaultInstance

      public boolean isUseDefaultInstance()
    • setUseDefaultInstance

      public void setUseDefaultInstance(boolean useDefaultInstance)
      Define if we want to use the GCP Client Default Instance or not
    • getSubscriptionName

      public String getSubscriptionName()
    • setSubscriptionName

      public void setSubscriptionName(String subscriptionName)
      Define the Google Pubsub subscription Name to be used when checking for updates
    • isRefreshEnabled

      public boolean isRefreshEnabled()
    • setRefreshEnabled

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

      public long getRefreshPeriod()
    • setRefreshPeriod

      public void setRefreshPeriod(long refreshPeriod)
      The period (millis) between checking Google 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.