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.BootstrapCloseable
Configuration for access to GCP Secret.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
end()
withProjectId
(String projectId) The GCP Project IDwithRefreshEnabled
(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in Google.withRefreshPeriod
(long refreshPeriod) The period (millis) between checking Google for updated secrets.withSecrets
(String secrets) Specify the secret names (or pattern) to check for updates.withServiceAccountKey
(String serviceAccountKey) The Service Account Key locationwithSubscriptionName
(String subscriptionName) The Pubsub subscriptionName namewithUseDefaultInstance
(boolean useDefaultInstance) The GCP Project IDMethods 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 Details
-
GcpVaultConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
withServiceAccountKey
The Service Account Key location -
withProjectId
The GCP Project ID -
withUseDefaultInstance
The GCP Project ID -
withSubscriptionName
The Pubsub subscriptionName name -
withRefreshEnabled
Whether to automatically reload Camel upon secrets being updated in Google. -
withRefreshPeriod
The period (millis) between checking Google for updated secrets. -
withSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma.
-