Package org.apache.camel.main
Class AwsVaultConfigurationProperties
java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.AwsVaultConfiguration
org.apache.camel.main.AwsVaultConfigurationProperties
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.camel.spi.BootstrapCloseable
@Configurer(extended=true)
public class AwsVaultConfigurationProperties
extends org.apache.camel.vault.AwsVaultConfiguration
implements org.apache.camel.spi.BootstrapCloseable
Configuration for access to AWS Secret.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()end()isOverrideEndpoint(boolean overrideEndpoint) Set the need for overriding the endpoint.withAccessKey(String accessKey) The AWS access keywithDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notwithProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or notwithProfileName(String profileName) Define the profile name if we are using the Profile Credentials ProviderwithRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.withRefreshPeriod(long refreshPeriod) The period (millis) between checking AWS for updated secrets.withRegion(String region) The AWS regionwithSecretKey(String secretKey) The AWS secret keywithSecrets(String secrets) Specify the secret names (or pattern) to check for updates.withSqsQueueName(String sqsQueueUrl) In case of usage of SQS notification this field will specified the Queue URL to usewithUriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint.withUseSqsNotification(boolean useSqsNotification) Whether to use AWS SQS for secrets updates notification, this will require setting up Eventbridge/Cloudtrail/SQS communicationMethods inherited from class org.apache.camel.vault.AwsVaultConfiguration
getAccessKey, getProfileName, getRefreshPeriod, getRegion, getSecretKey, getSecrets, getSqsQueueUrl, getUriEndpointOverride, isDefaultCredentialsProvider, isOverrideEndpoint, isProfileCredentialsProvider, isRefreshEnabled, isUseSqsNotification, setAccessKey, setDefaultCredentialsProvider, setOverrideEndpoint, setProfileCredentialsProvider, setProfileName, setRefreshEnabled, setRefreshPeriod, setRegion, setSecretKey, setSecrets, setSqsQueueUrl, setUriEndpointOverride, setUseSqsNotificationMethods 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
-
AwsVaultConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
withAccessKey
The AWS access key -
withSecretKey
The AWS secret key -
withRegion
The AWS region -
withDefaultCredentialsProvider
public AwsVaultConfigurationProperties withDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or not -
withProfileCredentialsProvider
public AwsVaultConfigurationProperties withProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or not -
withProfileName
Define the profile name if we are using the Profile Credentials Provider -
withRefreshEnabled
Whether to automatically reload Camel upon secrets being updated in AWS. -
withRefreshPeriod
The period (millis) between checking AWS for updated secrets. -
withSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma. -
withUseSqsNotification
Whether to use AWS SQS for secrets updates notification, this will require setting up Eventbridge/Cloudtrail/SQS communication -
withSqsQueueName
In case of usage of SQS notification this field will specified the Queue URL to use -
isOverrideEndpoint
Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option -
withUriEndpointOverride
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option
-