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
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
boolean
void
setProjectId
(String projectId) The GCP Project IDvoid
setRefreshEnabled
(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.void
setRefreshPeriod
(long refreshPeriod) The period (millis) between checking Google for updated secrets.void
setSecrets
(String secrets) Specify the secret names (or pattern) to check for updates.void
setServiceAccountKey
(String serviceAccountKey) The Service Account Key locationvoid
setSubscriptionName
(String subscriptionName) Define the Google Pubsub subscription Name to be used when checking for updatesvoid
setUseDefaultInstance
(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, hashicorp, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration
-
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.
-