Package org.apache.camel.main
Class GcpVaultConfigurationProperties
- java.lang.Object
-
- org.apache.camel.vault.VaultConfiguration
-
- org.apache.camel.vault.GcpVaultConfiguration
-
- org.apache.camel.main.GcpVaultConfigurationProperties
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.camel.spi.BootstrapCloseable
@Configurer(bootstrap=true) public class GcpVaultConfigurationProperties extends org.apache.camel.vault.GcpVaultConfiguration implements org.apache.camel.spi.BootstrapCloseableConfiguration for access to GCP Secret.
-
-
Constructor Summary
Constructors Constructor Description GcpVaultConfigurationProperties(MainConfigurationProperties parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()MainConfigurationPropertiesend()GcpVaultConfigurationPropertieswithProjectId(String projectId)The GCP Project IDGcpVaultConfigurationPropertieswithRefreshEnabled(boolean refreshEnabled)Whether to automatically reload Camel upon secrets being updated in Google.GcpVaultConfigurationPropertieswithRefreshPeriod(long refreshPeriod)The period (millis) between checking Google for updated secrets.GcpVaultConfigurationPropertieswithSecrets(String secrets)Specify the secret names (or pattern) to check for updates.GcpVaultConfigurationPropertieswithServiceAccountKey(String serviceAccountKey)The Service Account Key locationGcpVaultConfigurationPropertieswithSubscriptionName(String subscriptionName)The Pubsub subscriptionName nameGcpVaultConfigurationPropertieswithUseDefaultInstance(boolean useDefaultInstance)The GCP Project ID-
Methods inherited from class org.apache.camel.vault.GcpVaultConfiguration
getProjectId, getRefreshPeriod, getSecrets, getServiceAccountKey, getSubscriptionName, isRefreshEnabled, isUseDefaultInstance, setProjectId, setRefreshEnabled, setRefreshPeriod, setSecrets, setServiceAccountKey, setSubscriptionName, setUseDefaultInstance
-
Methods inherited from class org.apache.camel.vault.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, hashicorp, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration
-
-
-
-
Constructor Detail
-
GcpVaultConfigurationProperties
public GcpVaultConfigurationProperties(MainConfigurationProperties parent)
-
-
Method Detail
-
end
public MainConfigurationProperties end()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
withServiceAccountKey
public GcpVaultConfigurationProperties withServiceAccountKey(String serviceAccountKey)
The Service Account Key location
-
withProjectId
public GcpVaultConfigurationProperties withProjectId(String projectId)
The GCP Project ID
-
withUseDefaultInstance
public GcpVaultConfigurationProperties withUseDefaultInstance(boolean useDefaultInstance)
The GCP Project ID
-
withSubscriptionName
public GcpVaultConfigurationProperties withSubscriptionName(String subscriptionName)
The Pubsub subscriptionName name
-
withRefreshEnabled
public GcpVaultConfigurationProperties withRefreshEnabled(boolean refreshEnabled)
Whether to automatically reload Camel upon secrets being updated in Google.
-
withRefreshPeriod
public GcpVaultConfigurationProperties withRefreshPeriod(long refreshPeriod)
The period (millis) between checking Google for updated secrets.
-
withSecrets
public GcpVaultConfigurationProperties withSecrets(String secrets)
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-
-