Package org.apache.camel.vault
Class GcpVaultConfiguration
java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.GcpVaultConfiguration
Configuration for access to GCP Secret Manager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanbooleanvoidsetProjectId(String projectId) The GCP Project IDvoidsetRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.voidsetRefreshPeriod(long refreshPeriod) The period (millis) between checking Google for updated secrets.voidsetSecrets(String secrets) Specify the secret names (or pattern) to check for updates.voidsetServiceAccountKey(String serviceAccountKey) The Service Account Key locationvoidsetSubscriptionName(String subscriptionName) Define the Google Pubsub subscription Name to be used when checking for updatesvoidsetUseDefaultInstance(boolean useDefaultInstance) Define if we want to use the GCP Client Default Instance or notMethods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, getIBMSecretsManagerVaultConfiguration, getKubernetesConfigMapVaultConfiguration, getKubernetesVaultConfiguration, getSpringCloudConfigConfiguration, hashicorp, ibmSecretsManager, kubernetes, kubernetesConfigmaps, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration, setIBMSecretsManagerVaultConfiguration, setKubernetesConfigMapVaultConfiguration, setKubernetesVaultConfiguration, setSpringCloudConfigConfiguration, springConfig
-
Constructor Details
-
GcpVaultConfiguration
public GcpVaultConfiguration()
-
-
Method Details
-
getServiceAccountKey
-
setServiceAccountKey
The Service Account Key location -
getProjectId
-
setProjectId
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
-
setSubscriptionName
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
-
setSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-