Package org.apache.camel.vault
Class AwsVaultConfiguration
java.lang.Object
org.apache.camel.vault.VaultConfiguration
org.apache.camel.vault.AwsVaultConfiguration
Configuration for access to AWS Secret.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanbooleanbooleanbooleanbooleanvoidsetAccessKey(String accessKey) The AWS access keyvoidsetDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notvoidsetOverrideEndpoint(boolean overrideEndpoint) Set the need for overriding the endpoint.voidsetProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or notvoidsetProfileName(String profileName) Define the profile name to use if Profile Credentials Provider is selectedvoidsetRefreshEnabled(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.voidsetRefreshPeriod(long refreshPeriod) The period (millis) between checking AWS for updated secrets.voidThe AWS regionvoidsetSecretKey(String secretKey) The AWS secret keyvoidsetSecrets(String secrets) Specify the secret names (or pattern) to check for updates.voidsetSqsQueueUrl(String sqsQueueUrl) In case of usage of SQS notification this field will specified the Queue URL to usevoidsetUriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint.voidsetUseSqsNotification(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.VaultConfiguration
aws, azure, gcp, getAwsVaultConfiguration, getAzureVaultConfiguration, getGcpVaultConfiguration, getHashicorpVaultConfiguration, getKubernetesConfigMapVaultConfiguration, getKubernetesVaultConfiguration, hashicorp, kubernetes, kubernetesConfigmaps, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration, setKubernetesConfigMapVaultConfiguration, setKubernetesVaultConfiguration
-
Constructor Details
-
AwsVaultConfiguration
public AwsVaultConfiguration()
-
-
Method Details
-
getAccessKey
-
setAccessKey
The AWS access key -
getSecretKey
-
setSecretKey
The AWS secret key -
getRegion
-
setRegion
The AWS region -
isDefaultCredentialsProvider
public boolean isDefaultCredentialsProvider() -
setDefaultCredentialsProvider
public void setDefaultCredentialsProvider(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or not -
isProfileCredentialsProvider
public boolean isProfileCredentialsProvider() -
setProfileCredentialsProvider
public void setProfileCredentialsProvider(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or not -
getProfileName
-
setProfileName
Define the profile name to use if Profile Credentials Provider is selected -
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 AWS for updated secrets. -
getSecrets
-
setSecrets
Specify the secret names (or pattern) to check for updates. Multiple secrets can be separated by comma. -
isUseSqsNotification
public boolean isUseSqsNotification() -
setUseSqsNotification
public void setUseSqsNotification(boolean useSqsNotification) Whether to use AWS SQS for secrets updates notification, this will require setting up Eventbridge/Cloudtrail/SQS communication -
getSqsQueueUrl
-
setSqsQueueUrl
In case of usage of SQS notification this field will specified the Queue URL to use -
isOverrideEndpoint
public boolean isOverrideEndpoint() -
setOverrideEndpoint
public void setOverrideEndpoint(boolean overrideEndpoint) Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option -
getUriEndpointOverride
-
setUriEndpointOverride
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option
-