Package org.apache.camel.vault
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 Summary
Constructors Constructor Description GcpVaultConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getProjectId()
long
getRefreshPeriod()
String
getSecrets()
String
getServiceAccountKey()
String
getSubscriptionName()
boolean
isRefreshEnabled()
boolean
isUseDefaultInstance()
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 not-
Methods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, hashicorp, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration
-
-
-
-
Method Detail
-
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.
-
-