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
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
boolean
boolean
boolean
void
setAccessKey
(String accessKey) The AWS access keyvoid
setDefaultCredentialsProvider
(boolean defaultCredentialsProvider) Define if we want to use the AWS Default Credentials Provider or notvoid
setProfileCredentialsProvider
(boolean profileCredentialsProvider) Define if we want to use the AWS Profile Credentials Provider or notvoid
setProfileName
(String profileName) Define the profile name to use if Profile Credentials Provider is selectedvoid
setRefreshEnabled
(boolean refreshEnabled) Whether to automatically reload Camel upon secrets being updated in AWS.void
setRefreshPeriod
(long refreshPeriod) The period (millis) between checking AWS for updated secrets.void
The AWS regionvoid
setSecretKey
(String secretKey) The AWS secret keyvoid
setSecrets
(String secrets) Specify the secret names (or pattern) to check for updates.void
setSqsQueueUrl
(String sqsQueueUrl) In case of usage of SQS notification this field will specified the Queue URL to usevoid
setUseSqsNotification
(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, getKubernetesVaultConfiguration, hashicorp, kubernetes, setAwsVaultConfiguration, setAzureVaultConfiguration, setGcpVaultConfiguration, setHashicorpVaultConfiguration, 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
-